Advertisement
Somedud

fell sans

May 15th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- BurnLegion strikes again!
  2. -- wongxd, this is why you DON'T goto Voidacity's
  3. -- SLPM has been absent, so I've taken it upon myself to make something
  4. -- Sound credit by jasonskg123 and affady482
  5. warn"when you're bad time mode do q then u will be Fell :)"
  6. warn"edit by ExplosiveDaniel if you see him ur lucky!"
  7. --------------------------------------------------------
  8.  
  9. pls = game:GetService'Players'
  10. rs = game:GetService'RunService'
  11. uinps = game:GetService'UserInputService'
  12. lp = pls.LocalPlayer
  13. mouse = lp:GetMouse()
  14. c = lp.Character
  15. human = c.Humanoid
  16. human.MaxHealth = 100000000000000
  17. wait()
  18. human.Health = 100000000000000
  19. c.Health:Destroy()
  20.  
  21. --------------------------------------------------------
  22.  
  23. Debounces = {
  24. AnimationCycles = 0;
  25. FPS = 0;
  26. scalingDamage = false;
  27. damageLevel = 0;
  28. attackNumber = 0;
  29. isAttacking = false;
  30. isMoving = false;
  31. isSprinting = false;
  32. isBoosting = false;
  33. isPassive = false;
  34. isTyping = false;
  35. }
  36.  
  37. --------------------------------------------------------
  38.  
  39. numLerp = function(start, goal, alpha)
  40. return(((goal - start) * alpha) + start)
  41. end
  42.  
  43. CFrameZero = function()
  44. return CFrame.new(Vector3.new())
  45. end
  46.  
  47. rad = function(value)
  48. return math.rad(value)
  49. end
  50.  
  51. CFAngles = function(Vector)
  52. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  53. end
  54.  
  55. --------------------------------------------------------
  56.  
  57. AnimStat = {
  58. lerpSpeed = .2;
  59. lerpSpeed2 = .35;
  60. lerpTween = 0;
  61. }
  62.  
  63. Joints = {
  64. c.HumanoidRootPart.RootJoint;
  65. c.Torso.Neck;
  66. c.Torso['Left Shoulder'];
  67. c.Torso['Right Shoulder'];
  68. c.Torso['Left Hip'];
  69. c.Torso['Right Hip'];
  70. }
  71.  
  72. JointTargets = {
  73. CFrameZero();
  74. CFrameZero();
  75. CFrameZero();
  76. CFrameZero();
  77. CFrameZero();
  78. CFrameZero();
  79. }
  80.  
  81.  
  82.  
  83. prepareCharacter = function()
  84. local transPoints = {
  85. NumberSequenceKeypoint.new(0,.819,.0375),
  86. NumberSequenceKeypoint.new(.207,.594,.0187),
  87. NumberSequenceKeypoint.new(.4,.55,.031),
  88. NumberSequenceKeypoint.new(.57,.619,.05),
  89. NumberSequenceKeypoint.new(.76,.8,.0375),
  90. NumberSequenceKeypoint.new(1,1,0),
  91. }
  92. local sizePoints = {
  93. NumberSequenceKeypoint.new(0,.687,0),
  94. NumberSequenceKeypoint.new(.111,.875,0),
  95. NumberSequenceKeypoint.new(.327,1.19,0),
  96. NumberSequenceKeypoint.new(.646,1.56,0),
  97. NumberSequenceKeypoint.new(.805,1.37,0),
  98. NumberSequenceKeypoint.new(.905,1.06,0),
  99. NumberSequenceKeypoint.new(.968,.938,0),
  100. NumberSequenceKeypoint.new(.984,1.13,0),
  101. NumberSequenceKeypoint.new(1,1.62,0),
  102. }
  103. local Size = NumberSequence.new(sizePoints)
  104. local Transparency = NumberSequence.new(transPoints)
  105. rayModel = Instance.new("Model",c)
  106. efxBlock = Instance.new("Part",c)
  107. efxBlock.BrickColor = BrickColor.new("Bright red")
  108. efxBlock.Material = "Neon"
  109. efxBlock.FormFactor = "Custom"
  110. efxBlock.Transparency = .3
  111. efxBlock.Size = Vector3.new(.3,.3,.3)
  112. local mesh = Instance.new("SpecialMesh",efxBlock)
  113. mesh.MeshType = Enum.MeshType.Sphere
  114. mesh.Scale = Vector3.new(1,1,1)
  115. light = Instance.new("PointLight",c.Head)
  116. light.Range = 10
  117. light.Color = Color3.new(21,21,21)
  118. light.Shadows = false
  119. local particles = Instance.new("ParticleEmitter",efxBlock)
  120. particles.Color = ColorSequence.new(Color3.new(0,0,0/0),Color3.new(0/0,0/0,0/0))
  121. particles.LightEmission = .95
  122. particles.Size = Size
  123. particles.Name = "Fire"
  124. particles.Transparency = Transparency
  125. particles.LockedToPart = true
  126. particles.VelocityInheritance = .5
  127. particles.LockedToPart = true
  128. particles.Rate = 70
  129. particles.Texture = "rbxassetid://43708993"
  130. particles.Lifetime = NumberRange.new(2,2)
  131. particles.RotSpeed = NumberRange.new(100,100)
  132. particles.Speed = NumberRange.new(7,7)
  133. script.Parent = efxBlock
  134. fire = particles
  135. local offset = Vector3.new(-0.11, .23, -0.5)
  136. local weld = Instance.new("Weld",c.Head)
  137. weld.Part0 = c.Head
  138. weld.Part1 = efxBlock
  139. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40))
  140. efxBlock.Parent = c
  141. local music = Instance.new("Sound",c)
  142. music.SoundId = "rbxassetid://893314717"
  143. music.Looped = true
  144. music.Volume = 4.5
  145. fight = music
  146. local music2 = Instance.new("Sound",c)
  147. music2.SoundId = "rbxassetid://477519375"
  148. music2.Looped = true
  149. music2.Volume = 4.5
  150. sans = music2
  151. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  152. pointGyro.P = 1e7
  153. pointGyro.D = 1e3
  154. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  155. animator = c.Humanoid:FindFirstChild("Animator")
  156. if animator then
  157. animator:Destroy()
  158. end
  159. c.Torso.roblox:Destroy()
  160. for i,v in pairs (c.Head:children()) do
  161. if v.ClassName == "Sound" then
  162. v:Destroy()
  163. end
  164. end
  165. for i = 1,#Joints do
  166. Joints[i].C1 = CFrame.new(Vector3.new())
  167. end
  168. human.WalkSpeed = 0
  169. human.JumpPower = 0
  170. end
  171.  
  172. uinps.InputBegan:connect(function(InputObject)
  173. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  174. Debounces.isPassive = not Debounces.isPassive
  175. end
  176. end)
  177.  
  178. setJointCFrames = function(table)
  179. for i = 1,#table do
  180. JointTargets[i] = table[i]
  181. end
  182. AnimationCycles = 0
  183. end
  184.  
  185. setLerp = function(speed)
  186. AnimStat.lerpSpeed = speed
  187. end
  188.  
  189. setTween = function(tween)
  190. AnimStat.lerpTween = tween
  191. end
  192.  
  193. takeDamage = function(position,damage,distance,platformStand)
  194. for i,v in pairs (pls:children()) do
  195. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  196. local torso = v.Character:FindFirstChild("Torso")
  197. if torso and (torso.Position - position).magnitude < distance then
  198. v.Character.Humanoid:TakeDamage(damage)
  199. if platformStand == true then
  200. v.Character.PlatformStand = platformStand
  201. end
  202. end
  203. end
  204. end
  205. end
  206.  
  207. --------------------------------------------------------
  208.  
  209. prepareCharacter()
  210.  
  211. --------------------------------------------------------
  212.  
  213. spawn(function()
  214. local sine = 0
  215. while wait() do
  216. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  217. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  218. setLerp(.1)
  219. if Debounces.isPassive == true then
  220. setJointCFrames({
  221. CFrame.new(Vector3.new(0, -0.901 + math.sin(tick() * 1.5)/45, 0)) * CFAngles(Vector3.new(-22.001, 0, 0));
  222. CFrame.new(Vector3.new(-0.001, 1.52 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(-10.861 + math.sin((-tick() + 2) * 1.5) * 5, 13.765, -1.658));
  223. CFrame.new(Vector3.new(-1.5, -0.1 + math.sin(tick() * 1.5)/15, -0.801)) * CFAngles(Vector3.new(44.999, 0, 0));
  224. CFrame.new(Vector3.new(1.7, 0.2 + math.sin(tick() * 1.5)/15, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 15));
  225. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.511, 3.84, 0.489));
  226. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, -0.001));
  227. })
  228. else
  229. setJointCFrames({
  230. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  231. CFrame.new(Vector3.new(0, 1.5 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(1.554 + math.sin((-tick() + 2) * 1.5) * 5, -0.001, -0.001));
  232. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  233. CFrame.new(Vector3.new(1.059, -0.031 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, -3.842, -29.511));
  234. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  235. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  236. })
  237. end
  238. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  239. sine = sine + math.rad(12)
  240. human.WalkSpeed = 15
  241. setLerp(.15)
  242. setJointCFrames({
  243. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  244. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  245. CFrame.new(Vector3.new(-1.97, 0 + math.sin(sine + .5)/20, 0.1 + math.sin(-sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(sine) * 23, 0, 0));
  246. CFrame.new(Vector3.new(1.97, 0 - math.sin(sine + .5)/20, 0.1 + math.sin(sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(-sine) * 23, 0, 0));
  247. CFrame.new(Vector3.new(-0.5, -1.93 - math.cos(sine)/8.7, 0.2 + math.sin(sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(-sine) * 30, 0, 0));
  248. CFrame.new(Vector3.new(0.5, -1.93 + math.cos(sine)/8.7, 0.2 + math.sin(-sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(sine) * 30, 0, 0));
  249. })
  250. end
  251. if Debounces.scalingDamage == true then
  252. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  253. end
  254. end
  255. end)
  256.  
  257. human.Changed:connect(function(prop)
  258. if prop == "MoveDirection" then
  259. if human.MoveDirection.magnitude > .02 then
  260. Debounces.isMoving = true
  261. else
  262. Debounces.isMoving = false
  263. end
  264. end
  265. end)
  266.  
  267. uinps.InputBegan:connect(function(InputObject)
  268. if InputObject.KeyCode == Enum.KeyCode.A and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  269. Debounces.isBoosting = true
  270. Debounces.damageLevel = 5000
  271. Debounces.scalingDamage = true
  272. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  273. setLerp(.15)
  274. setJointCFrames({
  275. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  276. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  277. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  278. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  279. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  280. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  281. })
  282. local boostSpeed = 250
  283. local efx = Instance.new("Sound",c.Head)
  284. efx.SoundId = "rbxassetid://200632875"
  285. efx.Pitch = math.random(1100,1300)/1000
  286. efx.Volume = .5
  287. efx:Play()
  288. spawn(function()
  289. wait(5)
  290. efx:Destroy()
  291. end)
  292. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  293. vel.P = 1e3
  294. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  295. wait(.15)
  296. vel.P = 1000
  297. vel.MaxForce = Vector3.new(3000,0,3000)
  298. vel.Velocity = Vector3.new()
  299. wait(.3)
  300. setLerp(.3)
  301. setJointCFrames({
  302. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  303. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  304. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  305. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  306. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  307. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  308. })
  309. wait(.2)
  310. vel:Destroy()
  311. Debounces.damageLevel = 0
  312. Debounces.scalingDamage = false
  313. Debounces.isBoosting = false
  314. end
  315. end)
  316.  
  317. uinps.InputBegan:connect(function(InputObject)
  318. if InputObject.KeyCode == Enum.KeyCode.D and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  319. Debounces.isBoosting = true
  320. Debounces.damageLevel = 5000
  321. Debounces.scalingDamage = true
  322. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  323. setLerp(.15)
  324. setJointCFrames({
  325. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  326. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  327. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  328. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  329. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  330. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  331. })
  332. local boostSpeed = 250
  333. local efx = Instance.new("Sound",c.Head)
  334. efx.SoundId = "rbxassetid://200632875"
  335. efx.Pitch = math.random(1100,1300)/1000
  336. efx.Volume = .5
  337. efx:Play()
  338. spawn(function()
  339. wait(5)
  340. efx:Destroy()
  341. end)
  342. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  343. vel.P = 1e3
  344. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  345. wait(.15)
  346. vel.P = 1000
  347. vel.MaxForce = Vector3.new(3000,0,3000)
  348. vel.Velocity = Vector3.new()
  349. wait(.3)
  350. setLerp(.3)
  351. setJointCFrames({
  352. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  353. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  354. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  355. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  356. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  357. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  358. })
  359. wait(.2)
  360. vel:Destroy()
  361. Debounces.damageLevel = 0
  362. Debounces.scalingDamage = false
  363. Debounces.isBoosting = false
  364. end
  365. end)
  366.  
  367. uinps.InputBegan:connect(function(InputObject)
  368. if InputObject.KeyCode == Enum.KeyCode.W and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  369. Debounces.isBoosting = true
  370. Debounces.damageLevel = 5000
  371. Debounces.scalingDamage = true
  372. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  373. setLerp(.15)
  374. setJointCFrames({
  375. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  376. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  377. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  378. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  379. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  380. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  381. })
  382. local boostSpeed = 250
  383. local efx = Instance.new("Sound",c.Head)
  384. efx.SoundId = "rbxassetid://200632875"
  385. efx.Pitch = math.random(1100,1300)/1000
  386. efx.Volume = .5
  387. efx:Play()
  388. spawn(function()
  389. wait(5)
  390. efx:Destroy()
  391. end)
  392. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  393. vel.P = 1e3
  394. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  395. wait(.15)
  396. vel.P = 1000
  397. vel.MaxForce = Vector3.new(3000,0,3000)
  398. vel.Velocity = Vector3.new()
  399. wait(.3)
  400. setLerp(.3)
  401. setJointCFrames({
  402. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  403. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  404. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  405. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  406. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  407. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  408. })
  409. wait(.2)
  410. vel:Destroy()
  411. Debounces.damageLevel = 0
  412. Debounces.scalingDamage = false
  413. Debounces.isBoosting = false
  414. end
  415. end)
  416.  
  417. uinps.InputBegan:connect(function(InputObject)
  418. if InputObject.KeyCode == Enum.KeyCode.S and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  419. Debounces.isBoosting = true
  420. Debounces.damageLevel = 5000
  421. Debounces.scalingDamage = true
  422. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  423. setLerp(.15)
  424. setJointCFrames({
  425. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  426. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  427. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  428. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  429. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  430. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  431. })
  432. local boostSpeed = 150
  433. local boostSpeed = 250
  434. local efx = Instance.new("Sound",c.Head)
  435. efx.SoundId = "rbxassetid://200632875"
  436. efx.Pitch = math.random(1100,1300)/1000
  437. efx.Volume = .5
  438. efx:Play()
  439. spawn(function()
  440. wait(5)
  441. efx:Destroy()
  442. end)
  443. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  444. vel.P = 1e3
  445. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  446. wait(.15)
  447. vel.P = 1000
  448. vel.MaxForce = Vector3.new(3000,0,3000)
  449. vel.Velocity = Vector3.new()
  450. wait(.3)
  451. setLerp(.3)
  452. setJointCFrames({
  453. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  454. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  455. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  456. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  457. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  458. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  459. })
  460. wait(.2)
  461. vel:Destroy()
  462. Debounces.damageLevel = 0
  463. Debounces.scalingDamage = false
  464. Debounces.isBoosting = false
  465. end
  466. end)
  467.  
  468. uinps.InputBegan:connect(function(InputObject)
  469. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  470. local isLooping = true
  471. uinps.InputEnded:connect(function(InputObject2)
  472. if InputObject2.KeyCode == Enum.KeyCode.Q then
  473. isLooping = false
  474. end
  475. end)
  476. while true do
  477. if isLooping == false then
  478. break
  479. end
  480. Debounces.attackNumber = Debounces.attackNumber + 1
  481. local aimPos = mouse.Hit.p
  482. local head = Instance.new("Part",c)
  483. head.Size = Vector3.new(12,.2,12)
  484. head.CanCollide = false
  485. head.Anchored = true
  486. head.Transparency = 1
  487. for i = 1,2 do
  488. local decal = Instance.new("Decal",head)
  489. decal.Texture = "rbxassetid://1350472031"
  490. if i == 1 then
  491. decal.Face = Enum.NormalId.Top
  492. else
  493. decal.Face = Enum.NormalId.Bottom
  494. end
  495. end
  496. if Debounces.attackNumber%2 == 1 then
  497. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  498. else
  499. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  500. end
  501. spawn(function()
  502. local timer = 0
  503. while rs.RenderStepped:wait() do
  504. if timer >= 1.55 then
  505. break
  506. end
  507. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  508. timer = timer + 1/30/(Debounces.FPS/60)
  509. end
  510. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  511. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  512. local hit, pos = workspace:FindPartOnRay(ray,c)
  513. local dis = (head.CFrame.p - pos).magnitude
  514. local rayPart = Instance.new("Part",rayModel)
  515. rayPart.Material = "Neon"
  516. rayPart.FormFactor = "Custom"
  517. rayPart.BrickColor = BrickColor.new(1,1,1)
  518. rayPart.Anchored = true
  519. rayPart.CanCollide = false
  520. rayPart.Size = Vector3.new(7,7,dis + 400)
  521. local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2)
  522. rayPart.CFrame = rayCFrame
  523. head:Destroy()
  524. end)
  525. wait()
  526. local s = Instance.new("Sound",head)
  527. s.Volume = 1
  528. s.SoundId = "rbxassetid://332223043"
  529. s:Play()
  530. wait(.04)
  531. plr = game.Players.LocalPlayer
  532. char = plr.Character
  533. mouse = plr:GetMouse()
  534. whitecolor = Color3.new(1,1,1)
  535. epicmode = false
  536. normal = true
  537. for i,v in pairs(char:GetChildren()) do
  538. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  539. v:Destroy()
  540. end
  541. end
  542. local shirt = Instance.new("Shirt",char)
  543. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1357487550"
  544. local pants = Instance.new("Pants",char)
  545. pants.PantsTemplate = "http://www.roblox.com/asset/?id=1588478839"
  546. char.Head.face.Texture = "http://www.roblox.com/asset/?id=1011290299"
  547. local bdycolors = char["Body Colors"]
  548. bdycolors.HeadColor3 = whitecolor
  549. bdycolors.LeftArmColor3 = whitecolor
  550. bdycolors.LeftLegColor3 = whitecolor
  551. bdycolors.RightArmColor3 = whitecolor
  552. bdycolors.RightLegColor3 = whitecolor
  553. bdycolors.TorsoColor3 = whitecolor
  554. for i,v in pairs(char:GetChildren()) do
  555. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  556. v:Destroy()
  557. end
  558. end
  559. end
  560. end
  561. end)
  562.  
  563. uinps.InputBegan:connect(function(InputObj)
  564. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  565. Debounces.isAttacking = true
  566. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  567. local head = Instance.new("Part",c)
  568. head.Size = Vector3.new(18,.2,18)
  569. head.CanCollide = false
  570. head.Anchored = true
  571. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  572. head.Transparency = 1
  573. for i = 1,2 do
  574. local decal = Instance.new("Decal",head)
  575. decal.Texture = "rbxassetid://1350472031"
  576. if i == 1 then
  577. decal.Face = Enum.NormalId.Top
  578. else
  579. decal.Face = Enum.NormalId.Bottom
  580. end
  581. end
  582. setLerp(.1)
  583. setJointCFrames({
  584. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  585. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  586. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  587. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  588. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  589. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  590. })
  591. spawn(function()
  592. local timer = 0
  593. while rs.RenderStepped:wait() do
  594. if timer >= 1.55/.8 then
  595. break
  596. end
  597. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  598. timer = timer + 1/30/(Debounces.FPS/60)
  599. end
  600. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  601. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  602. local hit, pos = workspace:FindPartOnRay(ray,c)
  603. local dis = (head.CFrame.p - pos).magnitude
  604. local rayPart = Instance.new("Part",rayModel)
  605. rayPart.Material = "Neon"
  606. rayPart.FormFactor = "Custom"
  607. rayPart.Name = "Punch"
  608. rayPart.BrickColor = BrickColor.new(1,1,1)
  609. rayPart.Anchored = true
  610. rayPart.CanCollide = false
  611. rayPart.Size = Vector3.new(28,28,dis + 400)
  612. local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2)
  613. rayPart.CFrame = rayCFrame
  614. head:Destroy()
  615. end)
  616. wait()
  617. local s = Instance.new("Sound",head)
  618. s.Volume = 1
  619. s.SoundId = "rbxassetid://332223043"
  620. s.Pitch = .8
  621. s:Play()
  622. wait(.75)
  623. setLerp(.17)
  624. setJointCFrames({
  625. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  626. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  627. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  628. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  629. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  630. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  631. })
  632. wait(.5)
  633. Debounces.isAttacking = false
  634. end
  635. end)
  636.  
  637. reflect = function(d,n)
  638. local i, n = -1 * d.unit, n.unit
  639. local dot = n:Dot(i)
  640. return 2*dot*n - i
  641. end
  642.  
  643. makeReflectionBeam = function(pos,look,isCrit)
  644. local ray = Ray.new(pos,look)
  645. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  646. local e = Instance.new("Part",rayModel)
  647. e.Anchored = true
  648. e.CanCollide = false
  649. e.BrickColor = BrickColor.new("Red")
  650. e.Material = "Neon"
  651. e.FormFactor = "Custom"
  652. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  653. if isCrit == true then
  654. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  655. e.Name = "Punch"
  656. end
  657. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  658. local e = Instance.new("Sound",c)
  659. if isCrit == true then
  660. e.Volume = .5
  661. else
  662. e.Volume = .3
  663. e.Pitch = 1.5
  664. end
  665. e.SoundId = "rbxassetid://200632875"
  666. e:Play()
  667. spawn(function()
  668. wait(6)
  669. e:Destroy()
  670. end)
  671. wait(.05)
  672. if hit ~= nil then
  673. newDir = reflect(look.unit,norm,isCrit)
  674. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  675. end
  676. end
  677.  
  678. uinps.InputBegan:connect(function(InputObject)
  679. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  680. local isLooping = true
  681. uinps.InputEnded:connect(function(InputObject2)
  682. if InputObject2.KeyCode == Enum.KeyCode.Q then
  683. isLooping = false
  684. end
  685. end)
  686. while true do
  687. if isLooping == false then
  688. break
  689. end
  690. Debounces.attackNumber = Debounces.attackNumber + 1
  691. local aimPos = mouse.Hit.p
  692. local head = Instance.new("Part",c)
  693. head.Size = Vector3.new(12,.2,12)
  694. head.CanCollide = false
  695. head.Anchored = true
  696. head.Transparency = 1
  697. for i = 1,2 do
  698. local decal = Instance.new("Decal",head)
  699. decal.Texture = "rbxassetid://1350472031"
  700. if i == 1 then
  701. decal.Face = Enum.NormalId.Top
  702. else
  703. decal.Face = Enum.NormalId.Bottom
  704. end
  705. end
  706. if Debounces.attackNumber%2 == 1 then
  707. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  708. else
  709. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  710. end
  711. spawn(function()
  712. local timer = 0
  713. while rs.RenderStepped:wait() do
  714. if timer >= 1.55 then
  715. break
  716. end
  717. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  718. timer = timer + 1/30/(Debounces.FPS/60)
  719. end
  720. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  721. head:Destroy()
  722. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  723. end)
  724.  
  725. wait()
  726. local s = Instance.new("Sound",head)
  727. s.Volume = 2
  728. s.SoundId = "rbxassetid://332223043"
  729. s.Pitch = 1.02
  730. s:Play()
  731. wait(.2)
  732. end
  733. end
  734. end)
  735.  
  736. uinps.InputBegan:connect(function(InputObj)
  737. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  738. Debounces.isAttacking = true
  739. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  740. local head = Instance.new("Part",c)
  741. head.Size = Vector3.new(18,.2,18)
  742. head.CanCollide = false
  743. head.Anchored = true
  744. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  745. head.Transparency = 1
  746. for i = 1,2 do
  747. local decal = Instance.new("Decal",head)
  748. decal.Texture = "rbxassetid://1350472031"
  749. if i == 1 then
  750. decal.Face = Enum.NormalId.Top
  751. else
  752. decal.Face = Enum.NormalId.Bottom
  753. end
  754. end
  755. setLerp(.1)
  756. setJointCFrames({
  757. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  758. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  759. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  760. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  761. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  762. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  763. })
  764. spawn(function()
  765. local timer = 0
  766. while rs.RenderStepped:wait() do
  767. if timer >= 1.55/.8 then
  768. break
  769. end
  770. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  771. timer = timer + 1/30/(Debounces.FPS/60)
  772. end
  773. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  774. head:Destroy()
  775. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  776. end)
  777. wait()
  778. local s = Instance.new("Sound",head)
  779. s.Volume = 2
  780. s.SoundId = "rbxassetid://332223043"
  781. s.Pitch = .8
  782. s:Play()
  783. wait(.75)
  784. setLerp(.17)
  785. setJointCFrames({
  786. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  787. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  788. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  789. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  790. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  791. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  792. })
  793. wait(.5)
  794. Debounces.isAttacking = false
  795. end
  796. end)
  797.  
  798. uinps.InputBegan:connect(function(InputObj)
  799. if InputObj.KeyCode == Enum.KeyCode.Slash then
  800. local finishEvent = nil
  801. Debounces.isTyping = true
  802. finishEvent = uinps.InputBegan:connect(function(InputObj)
  803. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  804. Debounces.isTyping = false
  805. finishEvent:disconnect()
  806. end
  807. end)
  808. end
  809. end)
  810.  
  811. uinps.InputBegan:connect(function(InputObj)
  812. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  813. Debounces.isSprinting = true
  814. end
  815. end)
  816.  
  817. uinps.InputEnded:connect(function(InputObj)
  818. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  819. Debounces.isSprinting = false
  820. end
  821. end)
  822.  
  823. rs.RenderStepped:connect(function()
  824. Debounces.FPS = 1/rs.RenderStepped:wait()
  825. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  826. if Debounces.isPassive == false then
  827. fire.Enabled = false
  828. light.Range = 0
  829. fight:Pause()
  830. sans:Resume()
  831. efxBlock.Transparency = 1
  832. else
  833. fire.Enabled = true
  834. light.Range = 10
  835. fight:Resume()
  836. sans:Pause()
  837. efxBlock.Transparency = 0
  838. end
  839. for i,v in pairs (rayModel:children()) do
  840. if v.Transparency >= 1 then
  841. v:Destroy()
  842. else
  843. v.CanCollide = true
  844. local parts = v:GetTouchingParts()
  845. v.CanCollide = false
  846. for i = 1,#parts do
  847. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  848. parts[i].Parent.Humanoid:TakeDamage(5000.5/(Debounces.FPS/60))
  849. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  850. parts[i].Parent.Humanoid:TakeDamage(1000.1/(Debounces.FPS/60))
  851. end
  852. end
  853. v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  854. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  855. end
  856. end
  857. for i = 1,#Joints do
  858. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  859. end
  860. local sineval = math.sin(tick() * 2) * 3
  861. fire.Acceleration = Vector3.new(sineval,1,sineval)
  862. light.Brightness = math.sin(math.cos(tick() * 2) * 1.5)
  863. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement