Advertisement
DDDDDtuij

Sans for you guys (:

Jul 1st, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.46 KB | None | 0 0
  1.  
  2. dot = false
  3. des = false
  4. local ChatService = game:GetService("Chat")
  5. local player = game.Players.LocalPlayer
  6. char = player.Character
  7. hum = char.Humanoid
  8. torso = hum.Torso
  9. lig = Instance.new("PointLight",player.Character.Torso)
  10. lig.Color=Color3.new(0,255,255)
  11. m=player:GetMouse()
  12. bb = Instance.new("BillboardGui",player.Character.Head)
  13. bb.Enabled = true
  14. bb.AlwaysOnTop = true
  15. bb.Size = UDim2.new(0,200,0,50)
  16. bb.StudsOffset = Vector3.new(0,1,0)
  17. gui=Instance.new("TextBox",bb)
  18. gui.Text = "* "
  19. gui.Size = UDim2.new(0,133,0,45)
  20. gui.Position=UDim2.new(0,57,0,-40)
  21. gui.TextColor3 = Color3.new(255,255,255)
  22. gui.BackgroundColor3=Color3.new(0,0,0)
  23. gui.TextWrapped = true
  24. gui.TextScaled = true
  25. gui.TextXAlignment = "Left"
  26. gui.TextYAlignment = "Top"
  27. gui.Visible = false
  28. gui.BorderColor3 = Color3.new(0,0,0)
  29.  
  30. gui1=Instance.new("TextButton",bb)
  31. gui1.Position=UDim2.new(0,5,0,-43)
  32. gui1.Size = UDim2.new(0,190,0,51)
  33.  
  34. gui1.TextColor3 = Color3.new(255,255,255)
  35. gui1.BackgroundColor3=Color3.new(255,255,255)
  36.  
  37. Debounces = {
  38. ["IsSpeech"]=false;
  39. }
  40.  
  41.  
  42. Speeches = {
  43. "rbxassetid://316403916",
  44. "rbxassetid://316403844",
  45. "rbxassetid://316403787",
  46. "rbxassetid://316403490"
  47. };
  48.  
  49.  
  50.  
  51.  
  52. function swait(num)
  53. if num==0 or num==nil then
  54. game:service'RunService'.Stepped:wait(0)
  55. else
  56. for i=0,num do
  57. game:service'RunService'.Stepped:wait(0)
  58. end
  59. end
  60. end
  61.  
  62.  
  63. for _,v in pairs(Speeches) do
  64.  
  65. game:GetService("ContentProvider"):Preload(v)
  66.  
  67. end
  68.  
  69. so = function(id,par,vol,pit)
  70. coroutine.resume(coroutine.create(function()
  71. local sou = Instance.new("Sound",par or workspace)
  72. sou.Volume=vol
  73. sou.Pitch=pit or 1
  74. sou.SoundId=id
  75. swait()
  76. sou:play()
  77. game:GetService("Debris"):AddItem(sou,sou.TimeLength)
  78. end))
  79. end
  80.  
  81.  
  82.  
  83. function speech()
  84. if Debounces.IsSpeech then return end
  85. Debounces.IsSpeech = true
  86.  
  87. so(""..Speeches[math.random(1,#Speeches)].."",torso,1,1)
  88.  
  89. swait()
  90.  
  91. Debounces.IsSpeech = false
  92. end
  93.  
  94.  
  95. gui1.Visible = false
  96. img = Instance.new("ImageLabel",bb)
  97. img.Size = UDim2.new(0,46,0,47)
  98. img.Position = UDim2.new(0,10,0,-41)
  99. img.Image = "rbxassetid://388166921"
  100. img.BorderColor3 = Color3.new(0,0,0)
  101. img.Visible = false
  102. asd = Instance.new("Sound",player.Character.Torso)
  103. asd.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  104.  
  105. asd1 = Instance.new("Sound",player.Character.Torso)
  106. asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  107.  
  108. asd2 = Instance.new("Sound",player.Character.Torso)
  109. asd2.SoundId = "http://www.roblox.com/asset/?id = 306370481"
  110. asd2.Looped = true
  111. asd3 = Instance.new("Sound",player.Character.Torso)
  112. asd3.SoundId = "http://www.roblox.com/asset/?id = 316014309"
  113. asd3.Looped = true
  114. asd4 = Instance.new("Sound",player.Character.Torso)
  115. asd4.SoundId = "http://www.roblox.com/asset/?id = 388938813"
  116. asd4.Looped = false
  117. asd5 = Instance.new("Sound",player.Character.Torso)
  118. asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
  119. asd5.Looped = true
  120. dunkd = Instance.new("Sound",player.Character.Torso)
  121. dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
  122. dunkd.Looped = false
  123. function play(play)
  124. asd:Play()
  125. asd1:Play()
  126. end
  127. eye = Instance.new("Part",player.Character)
  128. eye.BrickColor = BrickColor.new("Toothpaste")
  129. eye.Material = "Neon"
  130. eye.FormFactor = 3
  131. eye.Shape = "Ball"
  132. eye.Size = Vector3.new(0.37,0.37,0.1)
  133. weld = Instance.new("Weld",eye)
  134. weld.Part0 = eye
  135. weld.Part1 = player.Character.Head
  136. weld.C0 = CFrame.new(0.1,-0.2,0.45)
  137. eye.Transparency = 1
  138. -- listen for their chatting
  139. player.Chatted:connect(function(message)
  140. a = string.len(message)
  141. gui.Text = "* "
  142. gui.Visible = true
  143. gui1.Visible = true
  144. des = false
  145. img.Visible = true
  146. print(a)
  147. if dot == false then
  148. for i = 1,string.len(message) do wait(0.07)
  149. gui.Text =gui.Text..message:sub(i,i)
  150.  
  151. play()
  152. end
  153. end
  154.  
  155. des = true
  156. end)
  157. m.KeyDown:connect(function(k)
  158. if k == "g" then
  159. asd2:Play()
  160. eye.Transparency = 0
  161.  
  162. elseif k == "k" then
  163. speech()
  164. end
  165. end)
  166. m.KeyDown:connect(function(k)
  167. if k == "p" then
  168. eye.Transparency = 1
  169. asd3:Play()
  170. end
  171. end)
  172. m.KeyDown:connect(function(k)
  173. if k == "r" then
  174. eye.Transparency = 0
  175. asd4:Play()
  176. end
  177. end)
  178. m.KeyDown:connect(function(k)
  179. if k == "q" then
  180. eye.Transparency = 1
  181. asd5:Play()
  182. end
  183. end)
  184. m.KeyDown:connect(function(k)
  185. if k == "z" then
  186.  
  187. img.Image = "rbxassetid://388167098"
  188. end
  189. end)
  190. m.KeyDown:connect(function(k)
  191. if k == "c" then
  192. img.Image = "rbxassetid://388166921"
  193. end
  194. end)
  195. m.KeyDown:connect(function(k)
  196. if k == "n" then
  197. img.Image = "rbxassetid://388166991"
  198. end
  199. end)
  200. m.KeyDown:connect(function(k)
  201. if k == "b" then
  202. img.Image = "rbxassetid://378060690"
  203. end
  204. end)
  205. m.KeyDown:connect(function(k)
  206. if k == "m" then
  207. img.Image = "rbxassetid://378609498"
  208. end
  209. end)
  210. m.KeyDown:connect(function(k)
  211. if k == "v" then
  212. img.Image = "rbxassetid://388166961"
  213. end
  214. end)
  215. m.KeyDown:connect(function(k)
  216. if k == "h" then
  217. img.Image = "rbxassetid://378577428"
  218. end
  219. end)
  220. m.KeyDown:connect(function(k)
  221. if k == "j" then
  222. img.Image = "rbxassetid://388167116"
  223. end
  224. end)
  225. m.KeyDown:connect(function(k)
  226. if k == "l" then
  227. img.Image = "rbxassetid://388167154"
  228. print("You take your very last breath...")
  229. asdd = Instance.new("Sound",player.Character.Torso)
  230. asdd.SoundId = "http://www.roblox.com/asset/?id = 357417055"
  231. asdd.Looped = false
  232. spawn(function()
  233. wait()
  234. asdd:Play()
  235. end)
  236. wait(2)
  237. asddd = Instance.new("Sound",player.Character.Torso)
  238. asddd.SoundId = "http://www.roblox.com/asset/?id = 387183672"
  239. asddd.Looped = false
  240. spawn(function()
  241. wait()
  242. asddd:Play()
  243. end)
  244. wait(2)
  245. asdded = Instance.new("Sound",player.Character.Torso)
  246. asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
  247. asdded.Looped = false
  248. spawn(function()
  249. wait()
  250. asdded:Play()
  251. end)
  252. char:BreakJoints()
  253. end
  254. end)
  255. m.KeyDown:connect(function(k)
  256. if k == "x" then
  257. if des == true then
  258. gui.Visible = false
  259. gui.Text = "* "
  260. gui1.Visible = false
  261. img.Visible = false
  262. end
  263. end
  264. end)
  265. m.KeyDown:connect(function(k)
  266. if k == "f" then
  267. asd3:Stop()
  268. asd2:Stop()
  269. asd4:Stop()
  270. dunkd:Stop()
  271. eye.Transparency = 1
  272. asd5:Stop()
  273. end
  274. end)
  275. m.KeyDown:connect(function(k)
  276. if k == "u" then
  277. dunkd = Instance.new("Sound",player.Character.Torso)
  278. dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
  279. dunkd.Looped = false
  280. dunkd:Play()
  281. end
  282. end)
  283. m.KeyDown:connect(function(k)
  284. if k == "y" then
  285. img.Image = "rbxassetid://378198656"
  286. end
  287. end)
  288. -- my god...
  289. -- Suck_HiyaThere moves to arizona
  290.  
  291. --------------------------------------------------------
  292.  
  293. pls = game:GetService'Players'
  294. rs = game:GetService'RunService'
  295. uinps = game:GetService'UserInputService'
  296. lp = pls.LocalPlayer
  297. mouse = lp:GetMouse()
  298. c = lp.Character
  299. human = c.Humanoid
  300. human.MaxHealth = 50
  301. soundVol = 0
  302. wait()
  303. human.Health = 50
  304. c.Health:Destroy()
  305.  
  306. --------------------------------------------------------
  307.  
  308. Debounces = {
  309. AnimationCycles = 0;
  310. FPS = 0;
  311. scalingDamage = false;
  312. damageLevel = 0;
  313. attackNumber = 0;
  314. isAttacking = false;
  315. isMoving = false;
  316. isSprinting = false;
  317. isBoosting = false;
  318. isPassive = false;
  319. isTyping = false;
  320. }
  321.  
  322. --------------------------------------------------------
  323.  
  324. numLerp = function(start, goal, alpha)
  325. return(((goal - start) * alpha) + start)
  326. end
  327.  
  328. CFrameZero = function()
  329. return CFrame.new(Vector3.new())
  330. end
  331.  
  332. rad = function(value)
  333. return math.rad(value)
  334. end
  335.  
  336. CFAngles = function(Vector)
  337. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  338. end
  339.  
  340. --------------------------------------------------------
  341.  
  342. AnimStat = {
  343. lerpSpeed = .2;
  344. lerpSpeed2 = .35;
  345. lerpTween = 0;
  346. }
  347.  
  348. Joints = {
  349. c.HumanoidRootPart.RootJoint;
  350. c.Torso.Neck;
  351. c.Torso['Left Shoulder'];
  352. c.Torso['Right Shoulder'];
  353. c.Torso['Left Hip'];
  354. c.Torso['Right Hip'];
  355. }
  356.  
  357. JointTargets = {
  358. CFrameZero();
  359. CFrameZero();
  360. CFrameZero();
  361. CFrameZero();
  362. CFrameZero();
  363. CFrameZero();
  364. }
  365.  
  366. --------------------------------------------------------
  367.  
  368. BodyColors = {
  369. HeadColor = BrickColor.new("Institutional white");
  370. LeftArmColor = BrickColor.new("Institutional white");
  371. RightArmColor = BrickColor.new("Institutional white");
  372. LeftLegColor = BrickColor.new("Institutional white");
  373. RightLegColor = BrickColor.new("Institutional white");
  374. TorsoColor = BrickColor.new("Mid gray");
  375. }
  376.  
  377. Customs = {
  378. Face = "http://www.roblox.com/asset/?id=8560915";
  379. Shirt = "http://www.roblox.com/asset/?id=334781688";
  380. Pants = "http://www.roblox.com/asset/?id=335237283";
  381. }
  382.  
  383. --------------------------------------------------------
  384.  
  385. prepareCharacter = function()
  386. local transPoints = {
  387. NumberSequenceKeypoint.new(0,0,0),
  388. NumberSequenceKeypoint.new(.4,.05,0),
  389. NumberSequenceKeypoint.new(.8,.16,0),
  390. NumberSequenceKeypoint.new(1,.25,0)
  391. }
  392. local sizePoints = {
  393. NumberSequenceKeypoint.new(0,.5,0),
  394. NumberSequenceKeypoint.new(.18,.5,0),
  395. NumberSequenceKeypoint.new(.49,.69,0),
  396. NumberSequenceKeypoint.new(.74,.5,0),
  397. NumberSequenceKeypoint.new(.92,.25,0),
  398. NumberSequenceKeypoint.new(1,.0625,0)
  399. }
  400. local Size = NumberSequence.new(sizePoints)
  401. local Transparency = NumberSequence.new(transPoints)
  402. rayModel = Instance.new("Model",c)
  403. efxBlock = Instance.new("Part",c)
  404. efxBlock.Material = "Neon"
  405. efxBlock.FormFactor = "Custom"
  406. efxBlock.Size = Vector3.new(.3,.3,.3)
  407. light = Instance.new("PointLight",c.Head)
  408. light.Range = 8
  409. light.Color = Color3.new(1,1,1)
  410. light.Shadows = false
  411. local particles = Instance.new("ParticleEmitter",efxBlock)
  412. particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1))
  413. particles.ZOffset = 1
  414. particles.LightEmission = .96
  415. particles.Size = Size
  416. particles.Name = "Fire"
  417. particles.Transparency = Transparency
  418. particles.LockedToPart = true
  419. particles.Rate = 25
  420. particles.EmissionDirection = "Right"
  421. particles.Acceleration = Vector3.new(-.5,0,0)
  422. particles.Texture = "rbxassetid://24378732"
  423. particles.Lifetime = NumberRange.new(.25,.25)
  424. particles.Speed = NumberRange.new(-.5,5)
  425. script.Parent = efxBlock
  426. fire = particles
  427. local offset = Vector3.new(0.2, .23, -0.5)
  428. local weld = Instance.new("Weld",c.Head)
  429. weld.Part0 = c.Head
  430. weld.Part1 = efxBlock
  431. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  432. efxBlock.Parent = c
  433. local music = Instance.new("Sound",c.Torso)
  434. music.SoundId = "rbxassetid://316012176"
  435. music.Looped = true
  436. music.Volume = soundVol
  437. fight = music
  438. local music2 = Instance.new("Sound",c.Torso)
  439. music2.SoundId = "rbxassetid://316014309"
  440. music2.Looped = true
  441. music2.Volume = soundVol
  442. sans = music2
  443. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  444. pointGyro.P = 1e7
  445. pointGyro.D = 1e3
  446. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  447. animator = c.Humanoid:FindFirstChild("Animator")
  448. if animator then
  449. animator:Destroy()
  450. end
  451. c.Torso.roblox:Destroy()
  452. for i,v in pairs (c.Head:children()) do
  453. if v.ClassName == "Sound" then
  454. v:Destroy()
  455. end
  456. end
  457. for i = 1,#Joints do
  458. Joints[i].C1 = CFrame.new(Vector3.new())
  459. end
  460. human.WalkSpeed = 0
  461. human.JumpPower = 0
  462. end
  463.  
  464. uinps.InputBegan:connect(function(InputObject)
  465. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  466. Debounces.isPassive = not Debounces.isPassive
  467. if Debounces.isPassive == true then
  468.  
  469. --speech()
  470. end
  471.  
  472. end
  473. end)
  474.  
  475. setJointCFrames = function(table)
  476. for i = 1,#table do
  477. JointTargets[i] = table[i]
  478. end
  479. AnimationCycles = 0
  480. end
  481.  
  482. setLerp = function(speed)
  483. AnimStat.lerpSpeed = speed
  484. end
  485.  
  486. setTween = function(tween)
  487. AnimStat.lerpTween = tween
  488. end
  489.  
  490. takeDamage = function(position,damage,distance,platformStand)
  491. for i,v in pairs (pls:children()) do
  492. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  493. local torso = v.Character:FindFirstChild("Torso")
  494. if torso and (torso.Position - position).magnitude < distance then
  495. if v.Character.Humanoid.MaxHealth > 1000 then
  496. v.Character.Humanoid.MaxHealth = 100;
  497. v.Character.Humanoid.Breakjoints()
  498. end
  499.  
  500.  
  501. v.Character.Humanoid:TakeDamage(damage)
  502. if platformStand == true then
  503. v.Character.PlatformStand = platformStand
  504. end
  505. end
  506. end
  507. end
  508. end
  509.  
  510. --------------------------------------------------------
  511.  
  512. prepareCharacter()
  513.  
  514. --------------------------------------------------------
  515.  
  516. spawn(function()
  517. local sine = 0
  518. while wait() do
  519. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  520. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  521. setLerp(.1)
  522. if Debounces.isPassive == true then
  523. setJointCFrames({
  524. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  525. 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));
  526. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  527. 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));
  528. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  529. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  530. })
  531. else
  532. setJointCFrames({
  533. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  534. 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));
  535. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  536. 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));
  537. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  538. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  539. })
  540. end
  541. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  542. sine = sine + math.rad(12)
  543. human.WalkSpeed = 15
  544. setLerp(.15)
  545. setJointCFrames({
  546. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  547. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  548. 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));
  549. 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));
  550. 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));
  551. 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));
  552. })
  553. end
  554. if Debounces.scalingDamage == true then
  555. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  556. end
  557. end
  558. end)
  559.  
  560. human.Changed:connect(function(prop)
  561. if prop == "MoveDirection" then
  562. if human.MoveDirection.magnitude > .02 then
  563. Debounces.isMoving = true
  564. else
  565. Debounces.isMoving = false
  566. end
  567. end
  568. end)
  569.  
  570. uinps.InputBegan:connect(function(InputObject)
  571. 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
  572. Debounces.isBoosting = true
  573. Debounces.damageLevel = 10
  574. Debounces.scalingDamage = true
  575. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  576. setLerp(.15)
  577. setJointCFrames({
  578. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  579. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  580. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  581. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  582. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  583. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  584. })
  585. local boostSpeed = 250
  586. local efx = Instance.new("Sound",c.Head)
  587. efx.SoundId = "rbxassetid://200632875"
  588. efx.Pitch = math.random(1100,1300)/1000
  589. efx.Volume = .5
  590. efx:Play()
  591. spawn(function()
  592. wait(5)
  593. efx:Destroy()
  594. end)
  595. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  596. vel.P = 1e3
  597. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  598. wait(.15)
  599. vel.P = 1000
  600. vel.MaxForce = Vector3.new(3000,0,3000)
  601. vel.Velocity = Vector3.new()
  602. wait(.3)
  603. setLerp(.3)
  604. setJointCFrames({
  605. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  606. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  607. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  608. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  609. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  610. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  611. })
  612. wait(.2)
  613. vel:Destroy()
  614. Debounces.damageLevel = 0
  615. Debounces.scalingDamage = false
  616. Debounces.isBoosting = false
  617. end
  618. end)
  619.  
  620. uinps.InputBegan:connect(function(InputObject)
  621. 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
  622. Debounces.isBoosting = true
  623. Debounces.damageLevel = 10
  624. Debounces.scalingDamage = true
  625. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  626. setLerp(.15)
  627. setJointCFrames({
  628. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  629. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  630. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  631. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  632. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  633. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  634. })
  635. local boostSpeed = 250
  636. local efx = Instance.new("Sound",c.Head)
  637. efx.SoundId = "rbxassetid://200632875"
  638. efx.Pitch = math.random(1100,1300)/1000
  639. efx.Volume = .5
  640. efx:Play()
  641. spawn(function()
  642. wait(5)
  643. efx:Destroy()
  644. end)
  645. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  646. vel.P = 1e3
  647. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  648. wait(.15)
  649. vel.P = 1000
  650. vel.MaxForce = Vector3.new(3000,0,3000)
  651. vel.Velocity = Vector3.new()
  652. wait(.3)
  653. setLerp(.3)
  654. setJointCFrames({
  655. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  656. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  657. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  658. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  659. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  660. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  661. })
  662. wait(.2)
  663. vel:Destroy()
  664. Debounces.damageLevel = 0
  665. Debounces.scalingDamage = false
  666. Debounces.isBoosting = false
  667. end
  668. end)
  669.  
  670. uinps.InputBegan:connect(function(InputObject)
  671. 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
  672. Debounces.isBoosting = true
  673. Debounces.damageLevel = 10
  674. Debounces.scalingDamage = true
  675. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  676. setLerp(.15)
  677. setJointCFrames({
  678. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  679. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  680. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  681. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  682. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  683. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  684. })
  685. local boostSpeed = 250
  686. local efx = Instance.new("Sound",c.Head)
  687. efx.SoundId = "rbxassetid://200632875"
  688. efx.Pitch = math.random(1100,1300)/1000
  689. efx.Volume = .5
  690. efx:Play()
  691. spawn(function()
  692. wait(5)
  693. efx:Destroy()
  694. end)
  695. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  696. vel.P = 1e3
  697. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  698. wait(.15)
  699. vel.P = 1000
  700. vel.MaxForce = Vector3.new(3000,0,3000)
  701. vel.Velocity = Vector3.new()
  702. wait(.3)
  703. setLerp(.3)
  704. setJointCFrames({
  705. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  706. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  707. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  708. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  709. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  710. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  711. })
  712. wait(.2)
  713. vel:Destroy()
  714. Debounces.damageLevel = 0
  715. Debounces.scalingDamage = false
  716. Debounces.isBoosting = false
  717. end
  718. end)
  719.  
  720. uinps.InputBegan:connect(function(InputObject)
  721. 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
  722. Debounces.isBoosting = true
  723. Debounces.damageLevel = 10
  724. Debounces.scalingDamage = true
  725. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  726. setLerp(.15)
  727. setJointCFrames({
  728. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  729. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  730. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  731. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  732. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  733. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  734. })
  735. local boostSpeed = 150
  736. local boostSpeed = 250
  737. local efx = Instance.new("Sound",c.Head)
  738. efx.SoundId = "rbxassetid://200632875"
  739. efx.Pitch = math.random(1100,1300)/1000
  740. efx.Volume = .5
  741. efx:Play()
  742. spawn(function()
  743. wait(5)
  744. efx:Destroy()
  745. end)
  746. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  747. vel.P = 1e3
  748. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  749. wait(.15)
  750. vel.P = 1000
  751. vel.MaxForce = Vector3.new(3000,0,3000)
  752. vel.Velocity = Vector3.new()
  753. wait(.3)
  754. setLerp(.3)
  755. setJointCFrames({
  756. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  757. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  758. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  759. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  760. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  761. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  762. })
  763. wait(.2)
  764. vel:Destroy()
  765. Debounces.damageLevel = 0
  766. Debounces.scalingDamage = false
  767. Debounces.isBoosting = false
  768. end
  769. end)
  770.  
  771. uinps.InputBegan:connect(function(InputObject)
  772. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  773. local isLooping = true
  774. uinps.InputEnded:connect(function(InputObject2)
  775. if InputObject2.KeyCode == Enum.KeyCode.Q then
  776. isLooping = false
  777. end
  778. end)
  779. while true do
  780. if isLooping == false then
  781. break
  782. end
  783. Debounces.attackNumber = Debounces.attackNumber + 1
  784. local aimPos = mouse.Hit.p
  785. local head = Instance.new("Part",c)
  786. head.Size = Vector3.new(12,.2,12)
  787. head.CanCollide = false
  788. head.Anchored = true
  789. head.Transparency = 1
  790. for i = 1,2 do
  791. local decal = Instance.new("Decal",head)
  792. decal.Texture = "rbxassetid://323497117"
  793. if i == 1 then
  794. decal.Face = Enum.NormalId.Top
  795. else
  796. decal.Face = Enum.NormalId.Bottom
  797. end
  798. end
  799. if Debounces.attackNumber%2 == 1 then
  800. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  801. else
  802. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  803. end
  804. spawn(function()
  805. local timer = 0
  806. while rs.RenderStepped:wait() do
  807. if timer >= 1.55 then
  808. break
  809. end
  810. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  811. timer = timer + 1/30/(Debounces.FPS/60)
  812. end
  813. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  814. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  815. local hit, pos = workspace:FindPartOnRay(ray,c)
  816. local dis = (head.CFrame.p - pos).magnitude
  817. local rayPart = Instance.new("Part",rayModel)
  818. rayPart.Material = "Neon"
  819. rayPart.FormFactor = "Custom"
  820. rayPart.BrickColor = BrickColor.new(1,1,1)
  821. rayPart.Anchored = true
  822. rayPart.CanCollide = false
  823. rayPart.Size = Vector3.new(7,7,dis + 400)
  824. 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)
  825. rayPart.CFrame = rayCFrame
  826. head:Destroy()
  827. end)
  828. wait()
  829. local s = Instance.new("Sound",head)
  830. s.Volume = 1
  831. s.SoundId = "rbxassetid://332223043"
  832. s:Play()
  833. wait(.04)
  834. end
  835. end
  836. end)
  837.  
  838. uinps.InputBegan:connect(function(InputObj)
  839. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  840. Debounces.isAttacking = true
  841. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  842. local head = Instance.new("Part",c)
  843. head.Size = Vector3.new(18,.2,18)
  844. head.CanCollide = false
  845. head.Anchored = true
  846. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  847. head.Transparency = 1
  848. for i = 1,2 do
  849. local decal = Instance.new("Decal",head)
  850. decal.Texture = "rbxassetid://323497117"
  851. if i == 1 then
  852. decal.Face = Enum.NormalId.Top
  853. else
  854. decal.Face = Enum.NormalId.Bottom
  855. end
  856. end
  857. setLerp(.1)
  858. setJointCFrames({
  859. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  860. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  861. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  862. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  863. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  864. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  865. })
  866. spawn(function()
  867. local timer = 0
  868. while rs.RenderStepped:wait() do
  869. if timer >= 1.55/.8 then
  870. break
  871. end
  872. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  873. timer = timer + 1/30/(Debounces.FPS/60)
  874. end
  875. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  876. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  877. local hit, pos = workspace:FindPartOnRay(ray,c)
  878. local dis = (head.CFrame.p - pos).magnitude
  879. local rayPart = Instance.new("Part",rayModel)
  880. rayPart.Material = "Neon"
  881. rayPart.FormFactor = "Custom"
  882. rayPart.Name = "Punch"
  883. rayPart.BrickColor = BrickColor.new(1,1,1)
  884. rayPart.Anchored = true
  885. rayPart.CanCollide = false
  886. rayPart.Size = Vector3.new(28,28,dis + 400)
  887. 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)
  888. rayPart.CFrame = rayCFrame
  889. head:Destroy()
  890. end)
  891. wait()
  892. local s = Instance.new("Sound",head)
  893. s.Volume = 1
  894. s.SoundId = "rbxassetid://332223043"
  895. s.Pitch = .8
  896. s:Play()
  897. wait(.75)
  898. setLerp(.17)
  899. setJointCFrames({
  900. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  901. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  902. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  903. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  904. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  905. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  906. })
  907. wait(.5)
  908. Debounces.isAttacking = false
  909. end
  910. end)
  911.  
  912. reflect = function(d,n)
  913. local i, n = -1 * d.unit, n.unit
  914. local dot = n:Dot(i)
  915. return 2*dot*n - i
  916. end
  917.  
  918. makeReflectionBeam = function(pos,look,isCrit)
  919. local ray = Ray.new(pos,look)
  920. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  921. local e = Instance.new("Part",rayModel)
  922. e.Anchored = true
  923. e.CanCollide = false
  924. e.BrickColor = BrickColor.new("White")
  925. e.Material = "Neon"
  926. e.FormFactor = "Custom"
  927. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  928. if isCrit == true then
  929. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  930. e.Name = "Punch"
  931. end
  932. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  933. local e = Instance.new("Sound",c)
  934. if isCrit == true then
  935. e.Volume = .5
  936. else
  937. e.Volume = .3
  938. e.Pitch = 1.5
  939. end
  940. e.SoundId = "rbxassetid://200632875"
  941. e:Play()
  942. spawn(function()
  943. wait(6)
  944. e:Destroy()
  945. end)
  946. wait(.05)
  947. if hit ~= nil then
  948. newDir = reflect(look.unit,norm,isCrit)
  949. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  950. end
  951. end
  952.  
  953. uinps.InputBegan:connect(function(InputObject)
  954. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  955. local isLooping = true
  956. uinps.InputEnded:connect(function(InputObject2)
  957. if InputObject2.KeyCode == Enum.KeyCode.Q then
  958. isLooping = false
  959. end
  960. end)
  961. while true do
  962. if isLooping == false then
  963. break
  964. end
  965. Debounces.attackNumber = Debounces.attackNumber + 1
  966. local aimPos = mouse.Hit.p
  967. local head = Instance.new("Part",c)
  968. head.Size = Vector3.new(12,.2,12)
  969. head.CanCollide = false
  970. head.Anchored = true
  971. head.Transparency = 1
  972. for i = 1,2 do
  973. local decal = Instance.new("Decal",head)
  974. decal.Texture = "rbxassetid://323497117"
  975. if i == 1 then
  976. decal.Face = Enum.NormalId.Top
  977. else
  978. decal.Face = Enum.NormalId.Bottom
  979. end
  980. end
  981. if Debounces.attackNumber%2 == 1 then
  982. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  983. else
  984. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  985. end
  986. spawn(function()
  987. local timer = 0
  988. while rs.RenderStepped:wait() do
  989. if timer >= 1.55 then
  990. break
  991. end
  992. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  993. timer = timer + 1/30/(Debounces.FPS/60)
  994. end
  995. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  996. head:Destroy()
  997. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  998. end)
  999.  
  1000. wait()
  1001. local s = Instance.new("Sound",head)
  1002. s.Volume = 1
  1003. s.SoundId = "rbxassetid://332223043"
  1004. s.Pitch = 1.02
  1005. s:Play()
  1006. wait(.2)
  1007. end
  1008. end
  1009. end)
  1010.  
  1011. uinps.InputBegan:connect(function(InputObj)
  1012. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  1013. Debounces.isAttacking = true
  1014. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1015. local head = Instance.new("Part",c)
  1016. head.Size = Vector3.new(18,.2,18)
  1017. head.CanCollide = false
  1018. head.Anchored = true
  1019. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1020. head.Transparency = 1
  1021. for i = 1,2 do
  1022. local decal = Instance.new("Decal",head)
  1023. decal.Texture = "rbxassetid://323497117"
  1024. if i == 1 then
  1025. decal.Face = Enum.NormalId.Top
  1026. else
  1027. decal.Face = Enum.NormalId.Bottom
  1028. end
  1029. end
  1030. setLerp(.1)
  1031. setJointCFrames({
  1032. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1033. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1034. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1035. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1036. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1037. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1038. })
  1039. spawn(function()
  1040. local timer = 0
  1041. while rs.RenderStepped:wait() do
  1042. if timer >= 1.55/.8 then
  1043. break
  1044. end
  1045. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1046. timer = timer + 1/30/(Debounces.FPS/60)
  1047. end
  1048. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1049. head:Destroy()
  1050. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  1051. end)
  1052. wait()
  1053. local s = Instance.new("Sound",head)
  1054. s.Volume = 2
  1055. s.SoundId = "rbxassetid://332223043"
  1056. s.Pitch = .8
  1057. s:Play()
  1058. wait(.75)
  1059. setLerp(.17)
  1060. setJointCFrames({
  1061. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1062. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1063. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1064. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1065. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1066. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1067. })
  1068. wait(.5)
  1069. Debounces.isAttacking = false
  1070. end
  1071. end)
  1072.  
  1073. uinps.InputBegan:connect(function(InputObj)
  1074. if InputObj.KeyCode == Enum.KeyCode.Slash then
  1075. local finishEvent = nil
  1076. Debounces.isTyping = true
  1077. finishEvent = uinps.InputBegan:connect(function(InputObj)
  1078. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  1079. Debounces.isTyping = false
  1080. finishEvent:disconnect()
  1081. end
  1082. end)
  1083. end
  1084. end)
  1085.  
  1086. uinps.InputBegan:connect(function(InputObj)
  1087. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1088. Debounces.isSprinting = true
  1089. end
  1090. end)
  1091.  
  1092. uinps.InputEnded:connect(function(InputObj)
  1093. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1094. Debounces.isSprinting = false
  1095. end
  1096. end)
  1097.  
  1098. rs.RenderStepped:connect(function()
  1099. Debounces.FPS = 1/rs.RenderStepped:wait()
  1100. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  1101. if Debounces.isPassive == false then
  1102. fight:Pause()
  1103. sans:Resume()
  1104. efxBlock.Transparency = 1
  1105. else
  1106. fight:Resume()
  1107. sans:Pause()
  1108. efxBlock.Transparency = 0
  1109. end
  1110. for i,v in pairs (rayModel:children()) do
  1111. if v.Transparency >= 1 then
  1112. v:Destroy()
  1113. else
  1114. v.CanCollide = true
  1115. local parts = v:GetTouchingParts()
  1116. v.CanCollide = false
  1117. for i = 1,#parts do
  1118. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  1119. parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  1120. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  1121. parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  1122. end
  1123.  
  1124.  
  1125.  
  1126. end
  1127. v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  1128. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  1129. end
  1130. end
  1131. for i = 1,#Joints do
  1132. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  1133. end
  1134. light.Brightness = math.random(1,4)
  1135. end)
  1136.  
  1137.  
  1138. -- ~CLarramore
  1139. -- ~CLarramore 2016 (writing over my old signature)
  1140.  
  1141. -- P.S Fuck you.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement