Advertisement
shjshjdahsdhjkdajhds

Untitled

Oct 6th, 2019
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. wait(1)
  2. player = owner
  3. torso = player.Character:WaitForChild("Torso")
  4. mouse = player:GetMouse()
  5.  
  6. mouse.KeyDown:connect(function(key)
  7. if key == "c" then
  8. dist = (torso.Position - mouse.Hit.p).magnitude
  9. if dist <= 100 then
  10. torso.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,3,0)
  11. end
  12. end
  13. end)
  14. -- BurnLegion strikes again!
  15. -- wongxd, this is why you DON'T goto Voidacity's
  16. -- SLPM has been absent, so I've taken it upon myself to make something
  17.  
  18. --------------------------------------------------------
  19.  
  20. pls = game:GetService'Players'
  21. rs = game:GetService'RunService'
  22. uinps = game:GetService'UserInputService'
  23. lp = pls.LocalPlayer
  24. mouse = lp:GetMouse()
  25. c = lp.Character
  26. human = c.Humanoid
  27. human.MaxHealth = 50
  28. wait()
  29. human.Health = 50
  30. c.Health:Destroy()
  31.  
  32. --------------------------------------------------------
  33.  
  34. Debounces = {
  35. AnimationCycles = 0;
  36. FPS = 0;
  37. scalingDamage = false;
  38. damageLevel = 0;
  39. attackNumber = 0;
  40. isAttacking = false;
  41. isMoving = false;
  42. isSprinting = false;
  43. isBoosting = false;
  44. isPassive = false;
  45. isTyping = false;
  46. }
  47.  
  48. --------------------------------------------------------
  49.  
  50. numLerp = function(start, goal, alpha)
  51. return(((goal - start) * alpha) + start)
  52. end
  53.  
  54. CFrameZero = function()
  55. return CFrame.new(Vector3.new())
  56. end
  57.  
  58. rad = function(value)
  59. return math.rad(value)
  60. end
  61.  
  62. CFAngles = function(Vector)
  63. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  64. end
  65.  
  66. --------------------------------------------------------
  67.  
  68. AnimStat = {
  69. lerpSpeed = .2;
  70. lerpSpeed2 = .35;
  71. lerpTween = 0;
  72. }
  73.  
  74. Joints = {
  75. c.HumanoidRootPart.RootJoint;
  76. c.Torso.Neck;
  77. c.Torso['Left Shoulder'];
  78. c.Torso['Right Shoulder'];
  79. c.Torso['Left Hip'];
  80. c.Torso['Right Hip'];
  81. }
  82.  
  83. JointTargets = {
  84. CFrameZero();
  85. CFrameZero();
  86. CFrameZero();
  87. CFrameZero();
  88. CFrameZero();
  89. CFrameZero();
  90. }
  91.  
  92. --------------------------------------------------------
  93.  
  94. BodyColors = {
  95. HeadColor = BrickColor.new("Institutional white");
  96. LeftArmColor = BrickColor.new("Institutional white");
  97. RightArmColor = BrickColor.new("Institutional white");
  98. LeftLegColor = BrickColor.new("Institutional white");
  99. RightLegColor = BrickColor.new("Institutional white");
  100. TorsoColor = BrickColor.new("Mid gray");
  101. }
  102.  
  103. Customs = {
  104. Face = "http://www.roblox.com/asset/?id=8560915";
  105. Shirt = "http://www.roblox.com/asset/?id=334781688";
  106. Pants = "http://www.roblox.com/asset/?id=335237283";
  107. }
  108.  
  109. --------------------------------------------------------
  110.  
  111. ypcall(function()
  112. char.Shirt:Destroy()
  113. char.Pants:Destroy()
  114. shirt = Instance.new("Shirt", char)
  115. shirt.Name = "Shirt"
  116. pants = Instance.new("Pants", char)
  117. pants.Name = "Pants"
  118. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=334755544"
  119. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=315964941"
  120. end)
  121.  
  122. --------------------------------------------------------
  123.  
  124. prepareCharacter = function()
  125. local transPoints = {
  126. NumberSequenceKeypoint.new(0,.819,.0375),
  127. NumberSequenceKeypoint.new(.207,.594,.0187),
  128. NumberSequenceKeypoint.new(.4,.55,.031),
  129. NumberSequenceKeypoint.new(.57,.619,.05),
  130. NumberSequenceKeypoint.new(.76,.8,.0375),
  131. NumberSequenceKeypoint.new(1,1,0),
  132. }
  133. local sizePoints = {
  134. NumberSequenceKeypoint.new(0,.687,0),
  135. NumberSequenceKeypoint.new(.111,.875,0),
  136. NumberSequenceKeypoint.new(.327,1.19,0),
  137. NumberSequenceKeypoint.new(.646,1.56,0),
  138. NumberSequenceKeypoint.new(.805,1.37,0),
  139. NumberSequenceKeypoint.new(.905,1.06,0),
  140. NumberSequenceKeypoint.new(.968,.938,0),
  141. NumberSequenceKeypoint.new(.984,1.13,0),
  142. NumberSequenceKeypoint.new(1,1.62,0),
  143. }
  144. local Size = NumberSequence.new(sizePoints)
  145. local Transparency = NumberSequence.new(transPoints)
  146. rayModel = Instance.new("Model",c)
  147. efxBlock = Instance.new("Part",c)
  148. efxBlock.BrickColor = BrickColor.new("Cyan")
  149. efxBlock.Material = "Neon"
  150. efxBlock.FormFactor = "Custom"
  151. efxBlock.Transparency = .3
  152. efxBlock.Size = Vector3.new(.3,.3,.3)
  153. local mesh = Instance.new("SpecialMesh",efxBlock)
  154. mesh.MeshType = Enum.MeshType.Sphere
  155. mesh.Scale = Vector3.new(1,1,1)
  156. light = Instance.new("PointLight",c.Head)
  157. light.Range = 10
  158. light.Color = Color3.new(0,200/255,1)
  159. light.Shadows = false
  160. local particles = Instance.new("ParticleEmitter",efxBlock)
  161. particles.Color = ColorSequence.new(Color3.new(0,0,225/255),Color3.new(20/255,190/255,205/255))
  162. particles.LightEmission = .95
  163. particles.Size = Size
  164. particles.Name = "Fire"
  165. particles.Transparency = Transparency
  166. particles.LockedToPart = true
  167. particles.VelocityInheritance = .5
  168. particles.LockedToPart = true
  169. particles.Rate = 70
  170. particles.Texture = "rbxassetid://56561915"
  171. particles.Lifetime = NumberRange.new(2,2)
  172. particles.RotSpeed = NumberRange.new(100,100)
  173. particles.Speed = NumberRange.new(7,7)
  174. script.Parent = efxBlock
  175. fire = particles
  176. local offset = Vector3.new(-0.11, .23, -0.5)
  177. local weld = Instance.new("Weld",c.Head)
  178. weld.Part0 = c.Head
  179. weld.Part1 = efxBlock
  180. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40))
  181. efxBlock.Parent = c
  182. local music = Instance.new("Sound",c)
  183. music.SoundId = "rbxassetid://316012176"
  184. music.Looped = true
  185. music.Volume = 0
  186. fight = music
  187. local music2 = Instance.new("Sound",c)
  188. music2.SoundId = "rbxassetid://316014309"
  189. music2.Looped = true
  190. music2.Volume = 0
  191. sans = music2
  192. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  193. pointGyro.P = 1e7
  194. pointGyro.D = 1e3
  195. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  196. animator = c.Humanoid:FindFirstChild("Animator")
  197. if animator then
  198. animator:Destroy()
  199. end
  200. c.Torso.roblox:Destroy()
  201. for i,v in pairs (c.Head:children()) do
  202. if v.ClassName == "Sound" then
  203. v:Destroy()
  204. end
  205. end
  206. for i = 1,#Joints do
  207. Joints[i].C1 = CFrame.new(Vector3.new())
  208. end
  209. human.WalkSpeed = 0
  210. human.JumpPower = 0
  211. end
  212.  
  213. uinps.InputBegan:connect(function(InputObject)
  214. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  215. Debounces.isPassive = not Debounces.isPassive
  216. end
  217. end)
  218.  
  219. setJointCFrames = function(table)
  220. for i = 1,#table do
  221. JointTargets[i] = table[i]
  222. end
  223. AnimationCycles = 0
  224. end
  225.  
  226. setLerp = function(speed)
  227. AnimStat.lerpSpeed = speed
  228. end
  229.  
  230. setTween = function(tween)
  231. AnimStat.lerpTween = tween
  232. end
  233.  
  234. takeDamage = function(position,damage,distance,platformStand)
  235. for i,v in pairs (pls:children()) do
  236. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  237. local torso = v.Character:FindFirstChild("Torso")
  238. if torso and (torso.Position - position).magnitude < distance then
  239. v.Character.Humanoid:TakeDamage(damage)
  240. if platformStand == true then
  241. v.Character.PlatformStand = platformStand
  242. end
  243. end
  244. end
  245. end
  246. end
  247.  
  248. --------------------------------------------------------
  249.  
  250. prepareCharacter()
  251.  
  252. --------------------------------------------------------
  253.  
  254. spawn(function()
  255. local sine = 0
  256. while wait() do
  257. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  258. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  259. setLerp(.1)
  260. if Debounces.isPassive == true then
  261. setJointCFrames({
  262. CFrame.new(Vector3.new(0, -0.901 + math.sin(tick() * 1.5)/45, 0)) * CFAngles(Vector3.new(-22.001, 0, 0));
  263. 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));
  264. CFrame.new(Vector3.new(-1.5, -0.1 + math.sin(tick() * 1.5)/15, -0.801)) * CFAngles(Vector3.new(44.999, 0, 0));
  265. CFrame.new(Vector3.new(1.7, 0.2 + math.sin(tick() * 1.5)/15, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 15));
  266. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.511, 3.84, 0.489));
  267. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, -0.001));
  268. })
  269. else
  270. setJointCFrames({
  271. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  272. 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));
  273. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  274. 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));
  275. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  276. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  277. })
  278. end
  279. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  280. sine = sine + math.rad(12)
  281. human.WalkSpeed = 15
  282. setLerp(.15)
  283. setJointCFrames({
  284. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  285. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  286. 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));
  287. 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));
  288. 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));
  289. 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));
  290. })
  291. end
  292. if Debounces.scalingDamage == true then
  293. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  294. end
  295. end
  296. end)
  297.  
  298. human.Changed:connect(function(prop)
  299. if prop == "MoveDirection" then
  300. if human.MoveDirection.magnitude > .02 then
  301. Debounces.isMoving = true
  302. else
  303. Debounces.isMoving = false
  304. end
  305. end
  306. end)
  307.  
  308. uinps.InputBegan:connect(function(InputObject)
  309. 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
  310. Debounces.isBoosting = true
  311. Debounces.damageLevel = 10
  312. Debounces.scalingDamage = true
  313. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  314. setLerp(.15)
  315. setJointCFrames({
  316. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  317. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  318. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  319. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  320. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  321. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  322. })
  323. local boostSpeed = 250
  324. local efx = Instance.new("Sound",c.Head)
  325. efx.SoundId = "rbxassetid://200632875"
  326. efx.Pitch = math.random(1100,1300)/1000
  327. efx.Volume = .5
  328. efx:Play()
  329. spawn(function()
  330. wait(5)
  331. efx:Destroy()
  332. end)
  333. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  334. vel.P = 1e3
  335. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  336. wait(.15)
  337. vel.P = 1000
  338. vel.MaxForce = Vector3.new(3000,0,3000)
  339. vel.Velocity = Vector3.new()
  340. wait(.3)
  341. setLerp(.3)
  342. setJointCFrames({
  343. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  344. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  345. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  346. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  347. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  348. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  349. })
  350. wait(.2)
  351. vel:Destroy()
  352. Debounces.damageLevel = 0
  353. Debounces.scalingDamage = false
  354. Debounces.isBoosting = false
  355. end
  356. end)
  357.  
  358. uinps.InputBegan:connect(function(InputObject)
  359. 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
  360. Debounces.isBoosting = true
  361. Debounces.damageLevel = 10
  362. Debounces.scalingDamage = true
  363. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  364. setLerp(.15)
  365. setJointCFrames({
  366. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  367. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  368. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  369. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  370. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  371. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  372. })
  373. local boostSpeed = 250
  374. local efx = Instance.new("Sound",c.Head)
  375. efx.SoundId = "rbxassetid://200632875"
  376. efx.Pitch = math.random(1100,1300)/1000
  377. efx.Volume = .5
  378. efx:Play()
  379. spawn(function()
  380. wait(5)
  381. efx:Destroy()
  382. end)
  383. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  384. vel.P = 1e3
  385. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  386. wait(.15)
  387. vel.P = 1000
  388. vel.MaxForce = Vector3.new(3000,0,3000)
  389. vel.Velocity = Vector3.new()
  390. wait(.3)
  391. setLerp(.3)
  392. setJointCFrames({
  393. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  394. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  395. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  396. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  397. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  398. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  399. })
  400. wait(.2)
  401. vel:Destroy()
  402. Debounces.damageLevel = 0
  403. Debounces.scalingDamage = false
  404. Debounces.isBoosting = false
  405. end
  406. end)
  407.  
  408. uinps.InputBegan:connect(function(InputObject)
  409. 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
  410. Debounces.isBoosting = true
  411. Debounces.damageLevel = 10
  412. Debounces.scalingDamage = true
  413. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  414. setLerp(.15)
  415. setJointCFrames({
  416. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  417. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  418. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  419. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  420. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  421. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  422. })
  423. local boostSpeed = 250
  424. local efx = Instance.new("Sound",c.Head)
  425. efx.SoundId = "rbxassetid://200632875"
  426. efx.Pitch = math.random(1100,1300)/1000
  427. efx.Volume = .5
  428. efx:Play()
  429. spawn(function()
  430. wait(5)
  431. efx:Destroy()
  432. end)
  433. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  434. vel.P = 1e3
  435. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  436. wait(.15)
  437. vel.P = 1000
  438. vel.MaxForce = Vector3.new(3000,0,3000)
  439. vel.Velocity = Vector3.new()
  440. wait(.3)
  441. setLerp(.3)
  442. setJointCFrames({
  443. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  444. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  445. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  446. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  447. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  448. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  449. })
  450. wait(.2)
  451. vel:Destroy()
  452. Debounces.damageLevel = 0
  453. Debounces.scalingDamage = false
  454. Debounces.isBoosting = false
  455. end
  456. end)
  457.  
  458. uinps.InputBegan:connect(function(InputObject)
  459. 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
  460. Debounces.isBoosting = true
  461. Debounces.damageLevel = 10
  462. Debounces.scalingDamage = true
  463. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  464. setLerp(.15)
  465. setJointCFrames({
  466. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  467. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  468. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  469. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  470. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  471. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  472. })
  473. local boostSpeed = 150
  474. local boostSpeed = 250
  475. local efx = Instance.new("Sound",c.Head)
  476. efx.SoundId = "rbxassetid://200632875"
  477. efx.Pitch = math.random(1100,1300)/1000
  478. efx.Volume = .5
  479. efx:Play()
  480. spawn(function()
  481. wait(5)
  482. efx:Destroy()
  483. end)
  484. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  485. vel.P = 1e3
  486. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  487. wait(.15)
  488. vel.P = 1000
  489. vel.MaxForce = Vector3.new(3000,0,3000)
  490. vel.Velocity = Vector3.new()
  491. wait(.3)
  492. setLerp(.3)
  493. setJointCFrames({
  494. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  495. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  496. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  497. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  498. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  499. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  500. })
  501. wait(.2)
  502. vel:Destroy()
  503. Debounces.damageLevel = 0
  504. Debounces.scalingDamage = false
  505. Debounces.isBoosting = false
  506. end
  507. end)
  508.  
  509. uinps.InputBegan:connect(function(InputObject)
  510. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  511. local isLooping = true
  512. uinps.InputEnded:connect(function(InputObject2)
  513. if InputObject2.KeyCode == Enum.KeyCode.Q then
  514. isLooping = false
  515. end
  516. end)
  517. while true do
  518. if isLooping == false then
  519. break
  520. end
  521. Debounces.attackNumber = Debounces.attackNumber + 1
  522. local aimPos = mouse.Hit.p
  523. local head = Instance.new("Part",c)
  524. head.Size = Vector3.new(12,.2,12)
  525. head.CanCollide = false
  526. head.Anchored = true
  527. head.Transparency = 1
  528. for i = 1,2 do
  529. local decal = Instance.new("Decal",head)
  530. decal.Texture = "rbxassetid://323497117"
  531. if i == 1 then
  532. decal.Face = Enum.NormalId.Top
  533. else
  534. decal.Face = Enum.NormalId.Bottom
  535. end
  536. end
  537. if Debounces.attackNumber%2 == 1 then
  538. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  539. else
  540. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  541. end
  542. spawn(function()
  543. local timer = 0
  544. while rs.RenderStepped:wait() do
  545. if timer >= 1.55 then
  546. break
  547. end
  548. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  549. timer = timer + 1/30/(Debounces.FPS/60)
  550. end
  551. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  552. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  553. local hit, pos = workspace:FindPartOnRay(ray,c)
  554. local dis = (head.CFrame.p - pos).magnitude
  555. local rayPart = Instance.new("Part",rayModel)
  556. rayPart.Material = "Neon"
  557. rayPart.FormFactor = "Custom"
  558. rayPart.BrickColor = BrickColor.new(1,1,1)
  559. rayPart.Anchored = true
  560. rayPart.CanCollide = false
  561. rayPart.Size = Vector3.new(7,7,dis + 400)
  562. 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)
  563. rayPart.CFrame = rayCFrame
  564. head:Destroy()
  565. end)
  566. wait()
  567. local s = Instance.new("Sound",head)
  568. s.Volume = 1
  569. s.SoundId = "rbxassetid://332223043"
  570. s:Play()
  571. wait(.04)
  572. end
  573. end
  574. end)
  575.  
  576. uinps.InputBegan:connect(function(InputObj)
  577. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  578. Debounces.isAttacking = true
  579. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  580. local head = Instance.new("Part",c)
  581. head.Size = Vector3.new(18,.2,18)
  582. head.CanCollide = false
  583. head.Anchored = true
  584. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  585. head.Transparency = 1
  586. for i = 1,2 do
  587. local decal = Instance.new("Decal",head)
  588. decal.Texture = "rbxassetid://323497117"
  589. if i == 1 then
  590. decal.Face = Enum.NormalId.Top
  591. else
  592. decal.Face = Enum.NormalId.Bottom
  593. end
  594. end
  595. setLerp(.1)
  596. setJointCFrames({
  597. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  598. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  599. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  600. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  601. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  602. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  603. })
  604. spawn(function()
  605. local timer = 0
  606. while rs.RenderStepped:wait() do
  607. if timer >= 1.55/.8 then
  608. break
  609. end
  610. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  611. timer = timer + 1/30/(Debounces.FPS/60)
  612. end
  613. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  614. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  615. local hit, pos = workspace:FindPartOnRay(ray,c)
  616. local dis = (head.CFrame.p - pos).magnitude
  617. local rayPart = Instance.new("Part",rayModel)
  618. rayPart.Material = "Neon"
  619. rayPart.FormFactor = "Custom"
  620. rayPart.Name = "Punch"
  621. rayPart.BrickColor = BrickColor.new(1,1,1)
  622. rayPart.Anchored = true
  623. rayPart.CanCollide = false
  624. rayPart.Size = Vector3.new(28,28,dis + 400)
  625. 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)
  626. rayPart.CFrame = rayCFrame
  627. head:Destroy()
  628. end)
  629. wait()
  630. local s = Instance.new("Sound",head)
  631. s.Volume = 1
  632. s.SoundId = "rbxassetid://332223043"
  633. s.Pitch = .8
  634. s:Play()
  635. wait(.75)
  636. setLerp(.17)
  637. setJointCFrames({
  638. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  639. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  640. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  641. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  642. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  643. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  644. })
  645. wait(.5)
  646. Debounces.isAttacking = false
  647. end
  648. end)
  649.  
  650. reflect = function(d,n)
  651. local i, n = -1 * d.unit, n.unit
  652. local dot = n:Dot(i)
  653. return 2*dot*n - i
  654. end
  655.  
  656. makeReflectionBeam = function(pos,look,isCrit)
  657. local ray = Ray.new(pos,look)
  658. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  659. local e = Instance.new("Part",rayModel)
  660. e.Anchored = true
  661. e.CanCollide = false
  662. e.BrickColor = BrickColor.new("White")
  663. e.Material = "Neon"
  664. e.FormFactor = "Custom"
  665. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  666. if isCrit == true then
  667. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  668. e.Name = "Punch"
  669. end
  670. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  671. local e = Instance.new("Sound",c)
  672. if isCrit == true then
  673. e.Volume = .5
  674. else
  675. e.Volume = .3
  676. e.Pitch = 1.5
  677. end
  678. e.SoundId = "rbxassetid://200632875"
  679. e:Play()
  680. spawn(function()
  681. wait(6)
  682. e:Destroy()
  683. end)
  684. wait(.05)
  685. if hit ~= nil then
  686. newDir = reflect(look.unit,norm,isCrit)
  687. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  688. end
  689. end
  690.  
  691. uinps.InputBegan:connect(function(InputObject)
  692. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  693. local isLooping = true
  694. uinps.InputEnded:connect(function(InputObject2)
  695. if InputObject2.KeyCode == Enum.KeyCode.Q then
  696. isLooping = false
  697. end
  698. end)
  699. while true do
  700. if isLooping == false then
  701. break
  702. end
  703. Debounces.attackNumber = Debounces.attackNumber + 1
  704. local aimPos = mouse.Hit.p
  705. local head = Instance.new("Part",c)
  706. head.Size = Vector3.new(12,.2,12)
  707. head.CanCollide = false
  708. head.Anchored = true
  709. head.Transparency = 1
  710. for i = 1,2 do
  711. local decal = Instance.new("Decal",head)
  712. decal.Texture = "rbxassetid://323497117"
  713. if i == 1 then
  714. decal.Face = Enum.NormalId.Top
  715. else
  716. decal.Face = Enum.NormalId.Bottom
  717. end
  718. end
  719. if Debounces.attackNumber%2 == 1 then
  720. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  721. else
  722. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  723. end
  724. spawn(function()
  725. local timer = 0
  726. while rs.RenderStepped:wait() do
  727. if timer >= 1.55 then
  728. break
  729. end
  730. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  731. timer = timer + 1/30/(Debounces.FPS/60)
  732. end
  733. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  734. head:Destroy()
  735. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  736. end)
  737.  
  738. wait()
  739. local s = Instance.new("Sound",head)
  740. s.Volume = 1
  741. s.SoundId = "rbxassetid://332223043"
  742. s.Pitch = 1.02
  743. s:Play()
  744. wait(.2)
  745. end
  746. end
  747. end)
  748.  
  749. uinps.InputBegan:connect(function(InputObj)
  750. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  751. Debounces.isAttacking = true
  752. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  753. local head = Instance.new("Part",c)
  754. head.Size = Vector3.new(18,.2,18)
  755. head.CanCollide = false
  756. head.Anchored = true
  757. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  758. head.Transparency = 1
  759. for i = 1,2 do
  760. local decal = Instance.new("Decal",head)
  761. decal.Texture = "rbxassetid://323497117"
  762. if i == 1 then
  763. decal.Face = Enum.NormalId.Top
  764. else
  765. decal.Face = Enum.NormalId.Bottom
  766. end
  767. end
  768. setLerp(.1)
  769. setJointCFrames({
  770. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  771. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  772. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  773. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  774. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  775. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  776. })
  777. spawn(function()
  778. local timer = 0
  779. while rs.RenderStepped:wait() do
  780. if timer >= 1.55/.8 then
  781. break
  782. end
  783. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  784. timer = timer + 1/30/(Debounces.FPS/60)
  785. end
  786. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  787. head:Destroy()
  788. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  789. end)
  790. wait()
  791. local s = Instance.new("Sound",head)
  792. s.Volume = 2
  793. s.SoundId = "rbxassetid://332223043"
  794. s.Pitch = .8
  795. s:Play()
  796. wait(.75)
  797. setLerp(.17)
  798. setJointCFrames({
  799. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  800. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  801. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  802. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  803. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  804. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  805. })
  806. wait(.5)
  807. Debounces.isAttacking = false
  808. end
  809. end)
  810.  
  811. uinps.InputBegan:connect(function(InputObj)
  812. if InputObj.KeyCode == Enum.KeyCode.Slash then
  813. local finishEvent = nil
  814. Debounces.isTyping = true
  815. finishEvent = uinps.InputBegan:connect(function(InputObj)
  816. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  817. Debounces.isTyping = false
  818. finishEvent:disconnect()
  819. end
  820. end)
  821. end
  822. end)
  823.  
  824. uinps.InputBegan:connect(function(InputObj)
  825. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  826. Debounces.isSprinting = true
  827. end
  828. end)
  829.  
  830. uinps.InputEnded:connect(function(InputObj)
  831. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  832. Debounces.isSprinting = false
  833. end
  834. end)
  835.  
  836. rs.RenderStepped:connect(function()
  837. Debounces.FPS = 1/rs.RenderStepped:wait()
  838. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  839. if Debounces.isPassive == false then
  840. fire.Enabled = false
  841. light.Range = 0
  842. fight:Pause()
  843. sans:Resume()
  844. efxBlock.Transparency = 1
  845. else
  846. fire.Enabled = true
  847. light.Range = 10
  848. fight:Resume()
  849. sans:Pause()
  850. efxBlock.Transparency = 0
  851. end
  852. for i,v in pairs (rayModel:children()) do
  853. if v.Transparency >= 1 then
  854. v:Destroy()
  855. else
  856. v.CanCollide = true
  857. local parts = v:GetTouchingParts()
  858. v.CanCollide = false
  859. for i = 1,#parts do
  860. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  861. parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  862. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  863. parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  864. end
  865. end
  866. v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  867. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  868. end
  869. end
  870. for i = 1,#Joints do
  871. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  872. end
  873. local sineval = math.sin(tick() * 2) * 3
  874. fire.Acceleration = Vector3.new(sineval,1,sineval)
  875. light.Brightness = math.sin(math.cos(tick() * 2) * 1.5)
  876. end)
  877. --[[
  878. ~~ GENOCIDE SANS SCRIPT ~~
  879.  
  880. VERSION BETA V3.0.3
  881. Whats New:
  882. *1st attempt in adding skull (failed lol)
  883. *Patched some more bugs
  884. *1st attempt in adding bones (failed lol)
  885. *removed ball spawning
  886. - AzuLX
  887.  
  888. Genocide Sans script from the Undertale game Script is edited by Xeradius, Isaac and Pingu.
  889. Full credit to whoever made the base
  890. Please do not leak this script.
  891. Full credit to 'KrystalTeam' and 'rocky2u' for the Telek script.
  892. TeamAzuL2K16
  893. ]]--
  894. ID = '319332735'
  895. Looped = false
  896.  
  897. Music=Instance.new("Sound" ,workspace)
  898. Music.Name = "Music"
  899. if Looped == true then
  900. Music.Looped = true
  901. end
  902. Music.SoundId = "http://roblox.com/asset/?id=319332735"
  903. Music:Play() --Demonic Laugh. (Omega Flowey) You can remove if you wish. Its very loud (To not make play, remove 'Music:Play()')
  904.  
  905. --full credit to krystal and rocky2u for below
  906. Fire = false
  907.  
  908. Sparkles = false
  909.  
  910. Box = false
  911.  
  912. local Players = game.Players
  913.  
  914. local Player = Players.LocalPlayer
  915.  
  916. local Mouse = Player:GetMouse()
  917.  
  918.  
  919. local dist = 25
  920.  
  921. local trans = 0
  922.  
  923. local dwn=false
  924.  
  925. local Bin = Instance.new("HopperBin")
  926.  
  927. Bin.Name = "Sans' Telekinesis"
  928.  
  929. Bin.Parent = Player.Backpack
  930.  
  931.  
  932. local ScreenGUI = Instance.new("ScreenGui", Player.PlayerGui)
  933.  
  934. local Color = Instance.new("Color3Value", ScreenGUI)
  935.  
  936. local ColorValue = Color.Value
  937.  
  938. local Blue = Instance.new("TextButton", ScreenGUI)
  939.  
  940. local Red = Instance.new("TextButton", ScreenGUI)
  941.  
  942. local Green = Instance.new("TextButton", ScreenGUI)
  943.  
  944. local Yellow = Instance.new("TextButton", ScreenGUI)
  945.  
  946. local Pink = Instance.new("TextButton", ScreenGUI)
  947.  
  948. local LightBlue = Instance.new("TextButton", ScreenGUI)
  949.  
  950. local White = Instance.new("TextButton", ScreenGUI)
  951.  
  952. local FireTrue = Instance.new("TextButton", ScreenGUI)
  953.  
  954. local FireFalse = Instance.new("TextButton", ScreenGUI)
  955.  
  956. local SparklesTrue = Instance.new("TextButton", ScreenGUI)
  957.  
  958. local SparklesFalse = Instance.new("TextButton", ScreenGUI)
  959.  
  960. local BoxTrue = Instance.new("TextButton", ScreenGUI)
  961.  
  962. local BoxFalse = Instance.new("TextButton", ScreenGUI)
  963.  
  964. Color.Name = "Color"
  965.  
  966. Blue.BackgroundColor3 = BrickColor.new("Bright blue").Color
  967.  
  968. Blue.Transparency = 0.5
  969.  
  970. Blue.Size = UDim2.new(0, 20 ,0, 20)
  971.  
  972. Blue.Position = UDim2.new(1, -35, 1, -35)
  973.  
  974. Blue.Name = "Blue"
  975.  
  976. Blue.Text = ""
  977.  
  978. Blue.Visible = false
  979.  
  980. Red.BackgroundColor3 = BrickColor.new("Bright red").Color
  981.  
  982. Red.Transparency = 0.5
  983.  
  984. Red.Size = UDim2.new(0, 20 ,0, 20)
  985.  
  986. Red.Position = UDim2.new(1,-65, 1, -35)
  987.  
  988. Red.Name = "Red"
  989.  
  990. Red.Text = ""
  991.  
  992. Red.Visible = false
  993.  
  994. Green.BackgroundColor3 = BrickColor.new("Bright green").Color
  995.  
  996. Green.Transparency = 0.5
  997.  
  998. Green.Size = UDim2.new(0, 20 ,0, 20)
  999.  
  1000. Green.Position = UDim2.new(1,-95, 1, -35)
  1001.  
  1002. Green.Name = "Green"
  1003.  
  1004. Green.Text = ""
  1005.  
  1006. Green.Visible = false
  1007.  
  1008. Yellow.BackgroundColor3 = BrickColor.new("New Yeller").Color
  1009.  
  1010. Yellow.Transparency = 0.5
  1011.  
  1012. Yellow.Size = UDim2.new(0, 20 ,0, 20)
  1013.  
  1014. Yellow.Position = UDim2.new(1,-125, 1, -35)
  1015.  
  1016. Yellow.Name = "Yellow"
  1017.  
  1018. Yellow.Text = ""
  1019.  
  1020. Yellow.Visible = false
  1021.  
  1022. Pink.BackgroundColor3 = BrickColor.new("Hot pink").Color
  1023.  
  1024. Pink.Transparency = 0.5
  1025.  
  1026. Pink.Size = UDim2.new(0, 20 ,0, 20)
  1027.  
  1028. Pink.Position = UDim2.new(1,-155, 1, -35)
  1029.  
  1030. Pink.Name = "Pink"
  1031.  
  1032. Pink.Text = ""
  1033.  
  1034. Pink.Visible = false
  1035.  
  1036. LightBlue.BackgroundColor3 = BrickColor.new("Cyan").Color
  1037.  
  1038. LightBlue.Transparency = 0.5
  1039.  
  1040. LightBlue.Size = UDim2.new(0, 20 ,0, 20)
  1041.  
  1042. LightBlue.Position = UDim2.new(1,-185, 1, -35)
  1043.  
  1044. LightBlue.Name = "LightBlue"
  1045.  
  1046. LightBlue.Text = ""
  1047.  
  1048. LightBlue.Visible = false
  1049.  
  1050. White.BackgroundColor3 = BrickColor.new("White").Color
  1051.  
  1052. White.Transparency = 0.5
  1053.  
  1054. White.Size = UDim2.new(0, 20 ,0, 20)
  1055.  
  1056. White.Position = UDim2.new(1,-215, 1, -35)
  1057.  
  1058. White.Name = "White"
  1059.  
  1060. White.Text = ""
  1061.  
  1062. White.Visible = false
  1063.  
  1064. FireFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  1065.  
  1066. FireFalse.Transparency = 0.5
  1067.  
  1068. FireFalse.Size = UDim2.new(0, 50 ,0, 20)
  1069.  
  1070. FireFalse.Position = UDim2.new(1,-65, 1, -65)
  1071.  
  1072. FireFalse.Name = "FireFalse"
  1073.  
  1074. FireFalse.Text = "Fire: F"
  1075.  
  1076. FireFalse.Visible = false
  1077.  
  1078. FireFalse.FontSize = "Size12"
  1079.  
  1080. FireFalse.Font = "ArialBold"
  1081.  
  1082. FireFalse.TextColor = BrickColor.new(255,255,255)
  1083.  
  1084. FireFalse.TextTransparency = 0
  1085.  
  1086. FireTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  1087.  
  1088. FireTrue.Transparency = 0.5
  1089.  
  1090. FireTrue.Size = UDim2.new(0, 50 ,0, 20)
  1091.  
  1092. FireTrue.Position = UDim2.new(1,-65, 1, -65)
  1093.  
  1094. FireTrue.Name = "FireTrue"
  1095.  
  1096. FireTrue.Text = "Fire: T"
  1097.  
  1098. FireTrue.Visible = false
  1099.  
  1100. FireTrue.FontSize = "Size12"
  1101.  
  1102. FireTrue.Font = "ArialBold"
  1103.  
  1104. FireTrue.TextColor = BrickColor.new(255,255,255)
  1105.  
  1106. FireTrue.TextTransparency = 0
  1107.  
  1108. SparklesTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  1109.  
  1110. SparklesTrue.Transparency = 0.5
  1111.  
  1112. SparklesTrue.Size = UDim2.new(0, 50 ,0, 20)
  1113.  
  1114. SparklesTrue.Position = UDim2.new(1,-125, 1, -65)
  1115.  
  1116. SparklesTrue.Name = "SparklesTrue"
  1117.  
  1118. SparklesTrue.Text = "SP: T"
  1119.  
  1120. SparklesTrue.Visible = false
  1121.  
  1122. SparklesTrue.FontSize = "Size12"
  1123.  
  1124. SparklesTrue.Font = "ArialBold"
  1125.  
  1126. SparklesTrue.TextColor = BrickColor.new(255,255,255)
  1127.  
  1128. SparklesTrue.TextTransparency = 0
  1129.  
  1130. SparklesFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  1131.  
  1132. SparklesFalse.Transparency = 0.5
  1133.  
  1134. SparklesFalse.Size = UDim2.new(0, 50 ,0, 20)
  1135.  
  1136. SparklesFalse.Position = UDim2.new(1,-125, 1, -65)
  1137.  
  1138. SparklesFalse.Name = "SparklesFalse"
  1139.  
  1140. SparklesFalse.Text = "SP: F"
  1141.  
  1142. SparklesFalse.Visible = false
  1143.  
  1144. SparklesFalse.FontSize = "Size12"
  1145.  
  1146. SparklesFalse.Font = "ArialBold"
  1147.  
  1148. SparklesFalse.TextColor = BrickColor.new(255,255,255)
  1149.  
  1150. SparklesFalse.TextTransparency = 0
  1151.  
  1152. BoxTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  1153.  
  1154. BoxTrue.Transparency = 0.5
  1155.  
  1156. BoxTrue.Size = UDim2.new(0, 50 ,0, 20)
  1157.  
  1158. BoxTrue.Position = UDim2.new(1,-185, 1, -65)
  1159.  
  1160. BoxTrue.Name = "BoxTrue"
  1161.  
  1162. BoxTrue.Text = "Box: T"
  1163.  
  1164. BoxTrue.Visible = false
  1165.  
  1166. BoxTrue.FontSize = "Size12"
  1167.  
  1168. BoxTrue.Font = "ArialBold"
  1169.  
  1170. BoxTrue.TextColor = BrickColor.new(255,255,255)
  1171.  
  1172. BoxTrue.TextTransparency = 0
  1173.  
  1174. BoxFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  1175.  
  1176. BoxFalse.Transparency = 0.5
  1177.  
  1178. BoxFalse.Size = UDim2.new(0, 50 ,0, 20)
  1179.  
  1180. BoxFalse.Position = UDim2.new(1,-185, 1, -65)
  1181.  
  1182. BoxFalse.Name = "BoxFalse"
  1183.  
  1184. BoxFalse.Text = "Box: F"
  1185.  
  1186. BoxFalse.Visible = false
  1187.  
  1188. BoxFalse.FontSize = "Size12"
  1189.  
  1190. BoxFalse.Font = "ArialBold"
  1191.  
  1192. BoxFalse.TextColor = BrickColor.new(255, 255, 255)
  1193.  
  1194. BoxFalse.TextTransparency = 0
  1195.  
  1196. local Credits = Instance.new("ScreenGui",Player.PlayerGui)
  1197.  
  1198. local Text = Instance.new("TextLabel",Credits)
  1199.  
  1200. Text.BackgroundTransparency = 1
  1201.  
  1202. Text.Position = UDim2.new(0, 0, 1, -25)
  1203.  
  1204. Text.Size = UDim2.new(0, 200, 0, 25)
  1205.  
  1206. Text.Font = "SourceSans"
  1207.  
  1208. Text.FontSize = "Size24"
  1209.  
  1210. Text.Text = "By AzuLX, Issac and Pingu - GSans Script."
  1211.  
  1212. Text.TextColor3 = Color3.new(255, 255, 255)
  1213.  
  1214. Text.TextXAlignment = "Left"
  1215.  
  1216. local bawl = Instance.new("Part", game.Lighting)
  1217.  
  1218. bawl.Name="TelekinesisGrab"
  1219.  
  1220. local bp = Instance.new("BodyPosition", bawl)
  1221.  
  1222. local w = Instance.new("Weld", bawl)
  1223.  
  1224. function onButton1Down(mouse)
  1225.  
  1226. bawl.Size = Vector3.new(2,2,2)
  1227.  
  1228. bawl.Material="Neon"
  1229.  
  1230. bawl.Shape=0
  1231.  
  1232. bawl.Transparency=trans
  1233.  
  1234. bawl.Name="TelekinesisGrab"
  1235.  
  1236. bawl.CanCollide = false
  1237.  
  1238. bawl.Parent = game.Workspace
  1239.  
  1240. w.Parent = bawl
  1241.  
  1242. w.Name = "Weld"
  1243.  
  1244. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1245.  
  1246. bp.Parent = bawl
  1247.  
  1248. bp.Name="lolx"
  1249.  
  1250. bawl.Parent = workspace
  1251.  
  1252. if mouse ~= nil then
  1253.  
  1254. if mouse.Target ~= nil then
  1255.  
  1256. w.Part0 = mouse.Target
  1257.  
  1258. w.Part1 = bawl
  1259.  
  1260. dwn = true
  1261.  
  1262. if mouse.Target.Parent:FindFirstChild("Humanoid") then
  1263.  
  1264. mouse.Target.Parent:FindFirstChild("Humanoid").PlatformStand=true
  1265.  
  1266. else
  1267.  
  1268. print('no humanoid')
  1269.  
  1270. end
  1271.  
  1272. end
  1273.  
  1274. end
  1275.  
  1276. spawn(function()
  1277.  
  1278. while dwn == true do
  1279.  
  1280. ypcall(function()
  1281.  
  1282. bp.Parent = bawl
  1283.  
  1284. bp.position = Player.Character.Torso.Position + (mouse.Hit.lookVector*dist)
  1285.  
  1286. wait()
  1287.  
  1288. end)
  1289.  
  1290. end
  1291.  
  1292. end)
  1293.  
  1294. end
  1295.  
  1296. function onButton1Up(mouse)
  1297.  
  1298. dwn=false
  1299.  
  1300. if bawl ~= nil then
  1301.  
  1302. bawl.Parent=game.Lighting
  1303.  
  1304. else
  1305.  
  1306. print('not found')
  1307.  
  1308. end
  1309.  
  1310. end
  1311.  
  1312. function onKeyDown(key, mouse)
  1313.  
  1314. key:lower()
  1315.  
  1316. if key == "r" then
  1317.  
  1318. if bawl ~= nil then
  1319.  
  1320. --bawl.Parent=nil
  1321.  
  1322. end
  1323.  
  1324. elseif key == "e" then
  1325.  
  1326. local p = Instance.new("Part", workspace)
  1327.  
  1328. p.Size = Vector3.new(3,3,3)
  1329.  
  1330. p.Material = "Neon"
  1331.  
  1332. p.Position = mouse.Hit.p + Vector3.new(0,2,0)
  1333.  
  1334. p.BrickColor = bawl.BrickColor
  1335.  
  1336. p.Shape = "Ball"
  1337.  
  1338. p.BottomSurface = "Smooth"
  1339.  
  1340. p.TopSurface = "Smooth"
  1341.  
  1342. elseif key == "h" then
  1343.  
  1344. if bawl ~= nil then
  1345.  
  1346. if bawl:FindFirstChild("Weld") ~= nil then
  1347.  
  1348. if bawl:FindFirstChild("Weld").Part0 ~= nil then
  1349.  
  1350. bawl:FindFirstChild("Weld").Part0.Anchored=false
  1351.  
  1352. end
  1353.  
  1354. end
  1355.  
  1356. end
  1357.  
  1358. elseif key == "g" then
  1359.  
  1360. if bawl ~= nil then
  1361.  
  1362. local x = Instance.new("Explosion",workspace)
  1363.  
  1364. x.Position=bawl.Position
  1365.  
  1366. else
  1367.  
  1368. print('some sort of error')
  1369.  
  1370. end
  1371.  
  1372. elseif key == "x" then
  1373.  
  1374. dist=dist - 5
  1375.  
  1376. elseif key == "c" then
  1377.  
  1378. dist=15
  1379.  
  1380. elseif key == "v" then
  1381.  
  1382. dist=100
  1383.  
  1384. elseif key == "z" then
  1385.  
  1386. dist=dist + 5
  1387.  
  1388. end
  1389.  
  1390. end
  1391.  
  1392. FireX = 0
  1393.  
  1394. FireY = 0
  1395.  
  1396. FireZ = 0
  1397.  
  1398. SPX = 0
  1399.  
  1400. SPY = 0
  1401.  
  1402. SPZ = 0
  1403.  
  1404. BoxColor = "White"
  1405.  
  1406. FireFalse.MouseButton1Down:connect(function ()
  1407.  
  1408. local Fire = Instance.new("Fire", bawl)
  1409. Fire.Color = Color3.new(FireX,FireY,FireZ)
  1410.  
  1411. Player.PlayerGui.ScreenGui.FireFalse.Visible = false
  1412.  
  1413. Player.PlayerGui.ScreenGui.FireTrue.Visible = true
  1414.  
  1415. Fire.Color = Color3.new(FireX,FireY,FireZ)
  1416.  
  1417. end)
  1418.  
  1419. FireTrue.MouseButton1Down:connect(function ()
  1420.  
  1421. bawl.Fire:remove()
  1422.  
  1423. Player.PlayerGui.ScreenGui.FireFalse.Visible = true
  1424.  
  1425. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  1426.  
  1427. end)
  1428.  
  1429. SparklesFalse.MouseButton1Down:connect(function ()
  1430.  
  1431. local SP = Instance.new("Sparkles", bawl)
  1432. SP.Color = Color3.new(SPX,SPY,SPZ)
  1433.  
  1434. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false
  1435.  
  1436. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = true
  1437.  
  1438. end)
  1439.  
  1440. SparklesTrue.MouseButton1Down:connect(function ()
  1441.  
  1442. bawl.Sparkles:remove()
  1443.  
  1444. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true
  1445.  
  1446. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  1447.  
  1448. end)
  1449.  
  1450. BoxFalse.MouseButton1Down:connect(function ()
  1451.  
  1452. local Box = Instance.new("SelectionBox", bawl)
  1453. Box.Color = BrickColor.new(BoxColor)
  1454. Box.Adornee = Box.Parent
  1455.  
  1456. Player.PlayerGui.ScreenGui.BoxFalse.Visible = false
  1457.  
  1458. Player.PlayerGui.ScreenGui.BoxTrue.Visible = true
  1459.  
  1460. end)
  1461.  
  1462. BoxTrue.MouseButton1Down:connect(function ()
  1463.  
  1464. bawl.SelectionBox:remove()
  1465.  
  1466. Player.PlayerGui.ScreenGui.BoxFalse.Visible = true
  1467.  
  1468. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  1469.  
  1470. end)
  1471.  
  1472. Blue.MouseButton1Down:connect(function ()
  1473.  
  1474. if bawl ~= nil then
  1475.  
  1476. bawl.BrickColor = BrickColor.new("Bright blue")
  1477.  
  1478. FireX = 0
  1479. FireY = 0
  1480. FireZ = 255
  1481.  
  1482. SPX = 0
  1483. SPY = 0
  1484. SPZ = 255
  1485.  
  1486. BoxColor = "Bright blue"
  1487.  
  1488. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,0,255)
  1489.  
  1490. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,0,255)
  1491.  
  1492. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright blue")
  1493.  
  1494. end
  1495.  
  1496. end)
  1497.  
  1498. Red.MouseButton1Down:connect(function ()
  1499.  
  1500. if bawl ~= nil then
  1501.  
  1502. bawl.BrickColor = BrickColor.new("Bright red")
  1503.  
  1504. FireX = 255
  1505. FireY = 0
  1506. FireZ = 0
  1507.  
  1508. SPX = 255
  1509. SPY = 0
  1510. SPZ = 0
  1511.  
  1512. BoxColor = "Bright red"
  1513.  
  1514. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,0)
  1515.  
  1516. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,0)
  1517.  
  1518. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright red")
  1519.  
  1520. end
  1521.  
  1522. end)
  1523.  
  1524. Green.MouseButton1Down:connect(function ()
  1525.  
  1526. if bawl ~= nil then
  1527.  
  1528. bawl.BrickColor = BrickColor.new("Bright green")
  1529.  
  1530. FireX = 0
  1531. FireY = 255
  1532. FireZ = 0
  1533.  
  1534. SPX = 0
  1535. SPY = 255
  1536. SPZ = 0
  1537.  
  1538. BoxColor = "Bright green"
  1539.  
  1540. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,0)
  1541.  
  1542. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,0)
  1543.  
  1544. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright green")
  1545.  
  1546. end
  1547.  
  1548. end)
  1549.  
  1550. Yellow.MouseButton1Down:connect(function ()
  1551.  
  1552. if bawl ~= nil then
  1553.  
  1554. bawl.BrickColor = BrickColor.new("New Yeller")
  1555.  
  1556. FireX = 255
  1557. FireY = 255
  1558. FireZ = 0
  1559.  
  1560. SPX = 255
  1561. SPY = 255
  1562. SPZ = 0
  1563.  
  1564. BoxColor = "New Yeller"
  1565.  
  1566. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,0)
  1567.  
  1568. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,0)
  1569.  
  1570. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("New Yeller")
  1571.  
  1572. end
  1573.  
  1574. end)
  1575.  
  1576. Pink.MouseButton1Down:connect(function ()
  1577.  
  1578. if bawl ~= nil then
  1579.  
  1580. bawl.BrickColor = BrickColor.new("Hot pink")
  1581.  
  1582. FireX = 255
  1583. FireY = 0
  1584. FireZ = 255
  1585.  
  1586. SPX = 255
  1587. SPY = 0
  1588. SPZ = 255
  1589.  
  1590. BoxColor = "Hot pink"
  1591.  
  1592. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,255)
  1593.  
  1594. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,255)
  1595.  
  1596. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Hot pink")
  1597.  
  1598. end
  1599.  
  1600. end)
  1601.  
  1602. LightBlue.MouseButton1Down:connect(function ()
  1603.  
  1604. if bawl ~= nil then
  1605.  
  1606. bawl.BrickColor = BrickColor.new("Cyan")
  1607.  
  1608. FireX = 0
  1609. FireY = 255
  1610. FireZ = 255
  1611.  
  1612. SPX = 0
  1613. SPY = 255
  1614. SPZ = 255
  1615.  
  1616. BoxColor = "Cyan"
  1617.  
  1618. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,255)
  1619.  
  1620. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,255)
  1621.  
  1622. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Cyan")
  1623.  
  1624. end
  1625.  
  1626. end)
  1627.  
  1628.  
  1629. White.MouseButton1Down:connect(function ()
  1630.  
  1631. if bawl ~= nil then
  1632.  
  1633. bawl.BrickColor = BrickColor.new("White")
  1634.  
  1635. FireX = 255
  1636. FireY = 255
  1637. FireZ = 255
  1638.  
  1639. SPX = 255
  1640. SPY = 255
  1641. SPZ = 255
  1642.  
  1643. BoxColor = "White"
  1644.  
  1645. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,255)
  1646.  
  1647. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,255)
  1648.  
  1649. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("White")
  1650.  
  1651. end
  1652.  
  1653. end)
  1654.  
  1655. Bin.Selected:connect(function ()
  1656.  
  1657. Fire = false
  1658.  
  1659. Player.PlayerGui.ScreenGui.Blue.Visible = true
  1660.  
  1661. Player.PlayerGui.ScreenGui.Red.Visible = true
  1662.  
  1663. Player.PlayerGui.ScreenGui.Green.Visible = true
  1664.  
  1665. Player.PlayerGui.ScreenGui.Yellow.Visible = true
  1666.  
  1667. Player.PlayerGui.ScreenGui.Pink.Visible = true
  1668.  
  1669. Player.PlayerGui.ScreenGui.LightBlue.Visible = true
  1670.  
  1671. Player.PlayerGui.ScreenGui.White.Visible = true
  1672.  
  1673. Player.PlayerGui.ScreenGui.FireFalse.Visible = true
  1674.  
  1675. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  1676.  
  1677. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true
  1678.  
  1679. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  1680.  
  1681. Player.PlayerGui.ScreenGui.BoxFalse.Visible = true
  1682.  
  1683. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  1684.  
  1685. end)
  1686.  
  1687. Bin.Deselected:connect(function ()
  1688.  
  1689. Fire = false
  1690.  
  1691. Player.PlayerGui.ScreenGui.Blue.Visible = false
  1692.  
  1693. Player.PlayerGui.ScreenGui.Red.Visible = false
  1694.  
  1695. Player.PlayerGui.ScreenGui.Green.Visible = false
  1696.  
  1697. Player.PlayerGui.ScreenGui.Yellow.Visible = false
  1698.  
  1699. Player.PlayerGui.ScreenGui.Pink.Visible = false
  1700.  
  1701. Player.PlayerGui.ScreenGui.LightBlue.Visible = false
  1702.  
  1703. Player.PlayerGui.ScreenGui.White.Visible = false
  1704.  
  1705. Player.PlayerGui.ScreenGui.FireFalse.Visible = false
  1706.  
  1707. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  1708.  
  1709. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false
  1710.  
  1711. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  1712.  
  1713. Player.PlayerGui.ScreenGui.BoxFalse.Visible = false
  1714.  
  1715. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  1716.  
  1717. end)
  1718.  
  1719. Bin.Selected:connect(function(mouse)
  1720.  
  1721. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  1722.  
  1723. mouse.Button1Up:connect(function() onButton1Up(mouse) end)
  1724.  
  1725. mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end)
  1726.  
  1727. end)
  1728. print 'Telek script has loaded, credit to Krystal and rocky2u'
  1729. dot = false
  1730. des = false
  1731. local ChatService = game:GetService("Chat")
  1732. local player = game.Players.LocalPlayer
  1733. char = player.Character
  1734. hum = char.Humanoid
  1735. torso = hum.Torso
  1736. lig = Instance.new("PointLight",player.Character.Torso)
  1737. lig.Color=Color3.new(0,255,255)
  1738. m=player:GetMouse()
  1739. bb = Instance.new("BillboardGui",player.Character.Head)
  1740. bb.Enabled = true
  1741. bb.AlwaysOnTop = true
  1742. bb.Size = UDim2.new(0,200,0,50)
  1743. bb.StudsOffset = Vector3.new(0,1,0)
  1744. gui=Instance.new("TextBox",bb)
  1745. gui.Text = "* "
  1746. gui.Size = UDim2.new(0,133,0,45)
  1747. gui.Position=UDim2.new(0,57,0,-40)
  1748. gui.TextColor3 = Color3.new(255,255,255)
  1749. gui.BackgroundColor3=Color3.new(0,0,0)
  1750. gui.TextWrapped = true
  1751. gui.TextScaled = true
  1752. gui.TextXAlignment = "Left"
  1753. gui.TextYAlignment = "Top"
  1754. gui.Visible = false
  1755. gui.BorderColor3 = Color3.new(0,0,0)
  1756.  
  1757. gui1=Instance.new("TextButton",bb)
  1758. gui1.Position=UDim2.new(0,5,0,-43)
  1759. gui1.Size = UDim2.new(0,190,0,51)
  1760.  
  1761. gui1.TextColor3 = Color3.new(255,255,255)
  1762. gui1.BackgroundColor3=Color3.new(255,255,255)
  1763.  
  1764. gui1.Visible = false
  1765. img = Instance.new("ImageLabel",bb)
  1766. img.Size = UDim2.new(0,46,0,47)
  1767. img.Position = UDim2.new(0,10,0,-41)
  1768. img.Image = "rbxassetid://388166921"
  1769. img.BorderColor3 = Color3.new(0,0,0)
  1770. img.Visible = false
  1771. asd = Instance.new("Sound",player.Character.Torso)
  1772. asd.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  1773.  
  1774. asd1 = Instance.new("Sound",player.Character.Torso)
  1775. asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  1776.  
  1777. asd2 = Instance.new("Sound",player.Character.Torso)
  1778. asd2.SoundId = "http://www.roblox.com/asset/?id = 306370481"
  1779. asd2.Looped = true
  1780. asd3 = Instance.new("Sound",player.Character.Torso)
  1781. asd3.SoundId = "http://www.roblox.com/asset/?id = 316014309"
  1782. asd3.Looped = true
  1783. asd4 = Instance.new("Sound",player.Character.Torso)
  1784. asd4.SoundId = "http://www.roblox.com/asset/?id = 388938813"
  1785. asd4.Looped = false
  1786. asd5 = Instance.new("Sound",player.Character.Torso)
  1787. asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
  1788. asd5.Looped = true
  1789. dunkd = Instance.new("Sound",player.Character.Torso)
  1790. dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
  1791. dunkd.Looped = false
  1792. function play(play)
  1793. asd:Play()
  1794. asd1:Play()
  1795. end
  1796. eye = Instance.new("Part",player.Character)
  1797. eye.BrickColor = BrickColor.new("Toothpaste")
  1798. eye.Material = "Neon"
  1799. eye.FormFactor = 3
  1800. eye.Shape = "Ball"
  1801. eye.Size = Vector3.new(0.37,0.37,0.1)
  1802. weld = Instance.new("Weld",eye)
  1803. weld.Part0 = eye
  1804. weld.Part1 = player.Character.Head
  1805. weld.C0 = CFrame.new(0.1,-0.2,0.45)
  1806. eye.Transparency = 1
  1807. -- listen for their chatting
  1808. player.Chatted:connect(function(message)
  1809. a = string.len(message)
  1810. gui.Text = "* "
  1811. gui.Visible = true
  1812. gui1.Visible = true
  1813. des = false
  1814. img.Visible = true
  1815. print(a)
  1816. if dot == false then
  1817. for i = 1,string.len(message) do wait(0.07)
  1818. gui.Text =gui.Text..message:sub(i,i)
  1819.  
  1820. play()
  1821. end
  1822. end
  1823.  
  1824. des = true
  1825. end)
  1826. m.KeyDown:connect(function(k)
  1827. if k == "g" then
  1828. asd2:Play()
  1829. eye.Transparency = 0
  1830.  
  1831. end
  1832. end)
  1833. m.KeyDown:connect(function(k)
  1834. if k == "p" then
  1835. eye.Transparency = 1
  1836. asd3:Play()
  1837. end
  1838. end)
  1839. m.KeyDown:connect(function(k)
  1840. if k == "r" then
  1841. eye.Transparency = 0
  1842. asd4:Play()
  1843. end
  1844. end)
  1845. m.KeyDown:connect(function(k)
  1846. if k == "q" then
  1847. eye.Transparency = 1
  1848. asd5:Play()
  1849. end
  1850. end)
  1851. m.KeyDown:connect(function(k)
  1852. if k == "z" then
  1853.  
  1854. img.Image = "rbxassetid://388167098"
  1855. end
  1856. end)
  1857. m.KeyDown:connect(function(k)
  1858. if k == "c" then
  1859. img.Image = "rbxassetid://388166921"
  1860. end
  1861. end)
  1862. m.KeyDown:connect(function(k)
  1863. if k == "n" then
  1864. img.Image = "rbxassetid://388166991"
  1865. end
  1866. end)
  1867. m.KeyDown:connect(function(k)
  1868. if k == "b" then
  1869. img.Image = "rbxassetid://378060690"
  1870. end
  1871. end)
  1872. m.KeyDown:connect(function(k)
  1873. if k == "m" then
  1874. img.Image = "rbxassetid://378609498"
  1875. end
  1876. end)
  1877. m.KeyDown:connect(function(k)
  1878. if k == "v" then
  1879. img.Image = "rbxassetid://388166961"
  1880. end
  1881. end)
  1882. m.KeyDown:connect(function(k)
  1883. if k == "h" then
  1884. img.Image = "rbxassetid://378577428"
  1885. end
  1886. end)
  1887. m.KeyDown:connect(function(k)
  1888. if k == "j" then
  1889. img.Image = "rbxassetid://388167116"
  1890. end
  1891. end)
  1892. m.KeyDown:connect(function(k)
  1893. if k == "l" then
  1894. img.Image = "rbxassetid://388167154"
  1895. print("You take your very last breath...")
  1896. asdd = Instance.new("Sound",player.Character.Torso)
  1897. asdd.SoundId = "http://www.roblox.com/asset/?id = 357417055"
  1898. asdd.Looped = false
  1899. spawn(function()
  1900. wait()
  1901. asdd:Play()
  1902. end)
  1903. wait(2)
  1904. asddd = Instance.new("Sound",player.Character.Torso)
  1905. asddd.SoundId = "http://www.roblox.com/asset/?id = 387183672"
  1906. asddd.Looped = false
  1907. spawn(function()
  1908. wait()
  1909. asddd:Play()
  1910. end)
  1911. wait(2)
  1912. asdded = Instance.new("Sound",player.Character.Torso)
  1913. asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
  1914. asdded.Looped = false
  1915. spawn(function()
  1916. wait()
  1917. asdded:Play()
  1918. end)
  1919. char:BreakJoints()
  1920. end
  1921. end)
  1922. m.KeyDown:connect(function(k)
  1923. if k == "x" then
  1924. if des == true then
  1925. gui.Visible = false
  1926. gui.Text = "* "
  1927. gui1.Visible = false
  1928. img.Visible = false
  1929. end
  1930. end
  1931. end)
  1932. m.KeyDown:connect(function(k)
  1933. if k == "f" then
  1934. asd3:Stop()
  1935. asd2:Stop()
  1936. asd4:Stop()
  1937. dunkd:Stop()
  1938. eye.Transparency = 1
  1939. asd5:Stop()
  1940. end
  1941. end)
  1942. m.KeyDown:connect(function(k)
  1943. if k == "u" then
  1944. dunkd = Instance.new("Sound",player.Character.Torso)
  1945. dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
  1946. dunkd.Looped = false
  1947. dunkd:Play()
  1948. end
  1949. end)
  1950. m.KeyDown:connect(function(k)
  1951. if k == "y" then
  1952. img.Image = "rbxassetid://378198656"
  1953. end
  1954. end)
  1955. -- my god...
  1956. -- Suck_HiyaThere moves to arizona
  1957.  
  1958. --------------------------------------------------------
  1959.  
  1960. pls = game:GetService'Players'
  1961. rs = game:GetService'RunService'
  1962. uinps = game:GetService'UserInputService'
  1963. lp = pls.LocalPlayer
  1964. mouse = lp:GetMouse()
  1965. c = lp.Character
  1966. human = c.Humanoid
  1967. human.MaxHealth = 50
  1968. soundVol = 0
  1969. wait()
  1970. human.Health = 50
  1971. c.Health:Destroy()
  1972.  
  1973. --------------------------------------------------------
  1974.  
  1975. Debounces = {
  1976. AnimationCycles = 0;
  1977. FPS = 0;
  1978. scalingDamage = false;
  1979. damageLevel = 0;
  1980. attackNumber = 0;
  1981. isAttacking = false;
  1982. isMoving = false;
  1983. isSprinting = false;
  1984. isBoosting = false;
  1985. isPassive = false;
  1986. isTyping = false;
  1987. }
  1988.  
  1989. --------------------------------------------------------
  1990.  
  1991. numLerp = function(start, goal, alpha)
  1992. return(((goal - start) * alpha) + start)
  1993. end
  1994.  
  1995. CFrameZero = function()
  1996. return CFrame.new(Vector3.new())
  1997. end
  1998.  
  1999. rad = function(value)
  2000. return math.rad(value)
  2001. end
  2002.  
  2003. CFAngles = function(Vector)
  2004. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  2005. end
  2006.  
  2007. --------------------------------------------------------
  2008.  
  2009. AnimStat = {
  2010. lerpSpeed = .2;
  2011. lerpSpeed2 = .35;
  2012. lerpTween = 0;
  2013. }
  2014.  
  2015. Joints = {
  2016. c.HumanoidRootPart.RootJoint;
  2017. c.Torso.Neck;
  2018. c.Torso['Left Shoulder'];
  2019. c.Torso['Right Shoulder'];
  2020. c.Torso['Left Hip'];
  2021. c.Torso['Right Hip'];
  2022. }
  2023.  
  2024. JointTargets = {
  2025. CFrameZero();
  2026. CFrameZero();
  2027. CFrameZero();
  2028. CFrameZero();
  2029. CFrameZero();
  2030. CFrameZero();
  2031. }
  2032.  
  2033. --------------------------------------------------------
  2034.  
  2035. BodyColors = {
  2036. HeadColor = BrickColor.new("Institutional white");
  2037. LeftArmColor = BrickColor.new("Institutional white");
  2038. RightArmColor = BrickColor.new("Institutional white");
  2039. LeftLegColor = BrickColor.new("Institutional white");
  2040. RightLegColor = BrickColor.new("Institutional white");
  2041. TorsoColor = BrickColor.new("Mid gray");
  2042. }
  2043.  
  2044. Customs = {
  2045. Face = "http://www.roblox.com/asset/?id=8560915";
  2046. Shirt = "http://www.roblox.com/asset/?id=334781688";
  2047. Pants = "http://www.roblox.com/asset/?id=335237283";
  2048. }
  2049.  
  2050. --------------------------------------------------------
  2051.  
  2052. prepareCharacter = function()
  2053. local transPoints = {
  2054. NumberSequenceKeypoint.new(0,0,0),
  2055. NumberSequenceKeypoint.new(.4,.05,0),
  2056. NumberSequenceKeypoint.new(.8,.16,0),
  2057. NumberSequenceKeypoint.new(1,.25,0)
  2058. }
  2059. local sizePoints = {
  2060. NumberSequenceKeypoint.new(0,.5,0),
  2061. NumberSequenceKeypoint.new(.18,.5,0),
  2062. NumberSequenceKeypoint.new(.49,.69,0),
  2063. NumberSequenceKeypoint.new(.74,.5,0),
  2064. NumberSequenceKeypoint.new(.92,.25,0),
  2065. NumberSequenceKeypoint.new(1,.0625,0)
  2066. }
  2067. local Size = NumberSequence.new(sizePoints)
  2068. local Transparency = NumberSequence.new(transPoints)
  2069. rayModel = Instance.new("Model",c)
  2070. efxBlock = Instance.new("Part",c)
  2071. efxBlock.Material = "Neon"
  2072. efxBlock.FormFactor = "Custom"
  2073. efxBlock.Size = Vector3.new(.3,.3,.3)
  2074. light = Instance.new("PointLight",c.Head)
  2075. light.Range = 8
  2076. light.Color = Color3.new(1,1,1)
  2077. light.Shadows = false
  2078. local particles = Instance.new("ParticleEmitter",efxBlock)
  2079. particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1))
  2080. particles.ZOffset = 1
  2081. particles.LightEmission = .96
  2082. particles.Size = Size
  2083. particles.Name = "Fire"
  2084. particles.Transparency = Transparency
  2085. particles.LockedToPart = true
  2086. particles.Rate = 25
  2087. particles.EmissionDirection = "Right"
  2088. particles.Acceleration = Vector3.new(-.5,0,0)
  2089. particles.Texture = "rbxassetid://24378732"
  2090. particles.Lifetime = NumberRange.new(.25,.25)
  2091. particles.Speed = NumberRange.new(-.5,5)
  2092. script.Parent = efxBlock
  2093. fire = particles
  2094. local offset = Vector3.new(0.2, .23, -0.5)
  2095. local weld = Instance.new("Weld",c.Head)
  2096. weld.Part0 = c.Head
  2097. weld.Part1 = efxBlock
  2098. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  2099. efxBlock.Parent = c
  2100. local music = Instance.new("Sound",c.Torso)
  2101. music.SoundId = "rbxassetid://316012176"
  2102. music.Looped = true
  2103. music.Volume = soundVol
  2104. fight = music
  2105. local music2 = Instance.new("Sound",c.Torso)
  2106. music2.SoundId = "rbxassetid://316014309"
  2107. music2.Looped = true
  2108. music2.Volume = soundVol
  2109. sans = music2
  2110. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  2111. pointGyro.P = 1e7
  2112. pointGyro.D = 1e3
  2113. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  2114. animator = c.Humanoid:FindFirstChild("Animator")
  2115. if animator then
  2116. animator:Destroy()
  2117. end
  2118. c.Torso.roblox:Destroy()
  2119. for i,v in pairs (c.Head:children()) do
  2120. if v.ClassName == "Sound" then
  2121. v:Destroy()
  2122. end
  2123. end
  2124. for i = 1,#Joints do
  2125. Joints[i].C1 = CFrame.new(Vector3.new())
  2126. end
  2127. human.WalkSpeed = 0
  2128. human.JumpPower = 0
  2129. end
  2130.  
  2131. uinps.InputBegan:connect(function(InputObject)
  2132. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  2133. Debounces.isPassive = not Debounces.isPassive
  2134. end
  2135. end)
  2136.  
  2137. setJointCFrames = function(table)
  2138. for i = 1,#table do
  2139. JointTargets[i] = table[i]
  2140. end
  2141. AnimationCycles = 0
  2142. end
  2143.  
  2144. setLerp = function(speed)
  2145. AnimStat.lerpSpeed = speed
  2146. end
  2147.  
  2148. setTween = function(tween)
  2149. AnimStat.lerpTween = tween
  2150. end
  2151.  
  2152. takeDamage = function(position,damage,distance,platformStand)
  2153. for i,v in pairs (pls:children()) do
  2154. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  2155. local torso = v.Character:FindFirstChild("Torso")
  2156. if torso and (torso.Position - position).magnitude < distance then
  2157. if v.Character.Humanoid.MaxHealth > 1000 then
  2158. v.Character.Humanoid.MaxHealth = 100;
  2159. v.Character.Humanoid.Breakjoints()
  2160. end
  2161.  
  2162.  
  2163. v.Character.Humanoid:TakeDamage(damage)
  2164. if platformStand == true then
  2165. v.Character.PlatformStand = platformStand
  2166. end
  2167. end
  2168. end
  2169. end
  2170. end
  2171.  
  2172. --------------------------------------------------------
  2173.  
  2174. prepareCharacter()
  2175.  
  2176. --------------------------------------------------------
  2177.  
  2178. spawn(function()
  2179. local sine = 0
  2180. while wait() do
  2181. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  2182. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  2183. setLerp(.1)
  2184. if Debounces.isPassive == true then
  2185. setJointCFrames({
  2186. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  2187. 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));
  2188. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  2189. 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));
  2190. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  2191. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  2192. })
  2193. else
  2194. setJointCFrames({
  2195. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  2196. 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));
  2197. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  2198. 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));
  2199. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  2200. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  2201. })
  2202. end
  2203. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  2204. sine = sine + math.rad(12)
  2205. human.WalkSpeed = 15
  2206. setLerp(.15)
  2207. setJointCFrames({
  2208. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  2209. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  2210. 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));
  2211. 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));
  2212. 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));
  2213. 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));
  2214. })
  2215. end
  2216. if Debounces.scalingDamage == true then
  2217. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  2218. end
  2219. end
  2220. end)
  2221.  
  2222. human.Changed:connect(function(prop)
  2223. if prop == "MoveDirection" then
  2224. if human.MoveDirection.magnitude > .02 then
  2225. Debounces.isMoving = true
  2226. else
  2227. Debounces.isMoving = false
  2228. end
  2229. end
  2230. end)
  2231.  
  2232. uinps.InputBegan:connect(function(InputObject)
  2233. 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
  2234. Debounces.isBoosting = true
  2235. Debounces.damageLevel = 10
  2236. Debounces.scalingDamage = true
  2237. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  2238. setLerp(.15)
  2239. setJointCFrames({
  2240. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  2241. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  2242. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  2243. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  2244. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  2245. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  2246. })
  2247. local boostSpeed = 250
  2248. local efx = Instance.new("Sound",c.Head)
  2249. efx.SoundId = "rbxassetid://200632875"
  2250. efx.Pitch = math.random(1100,1300)/1000
  2251. efx.Volume = .5
  2252. efx:Play()
  2253. spawn(function()
  2254. wait(5)
  2255. efx:Destroy()
  2256. end)
  2257. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  2258. vel.P = 1e3
  2259. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  2260. wait(.15)
  2261. vel.P = 1000
  2262. vel.MaxForce = Vector3.new(3000,0,3000)
  2263. vel.Velocity = Vector3.new()
  2264. wait(.3)
  2265. setLerp(.3)
  2266. setJointCFrames({
  2267. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  2268. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  2269. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  2270. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  2271. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  2272. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  2273. })
  2274. wait(.2)
  2275. vel:Destroy()
  2276. Debounces.damageLevel = 0
  2277. Debounces.scalingDamage = false
  2278. Debounces.isBoosting = false
  2279. end
  2280. end)
  2281.  
  2282. uinps.InputBegan:connect(function(InputObject)
  2283. 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
  2284. Debounces.isBoosting = true
  2285. Debounces.damageLevel = 10
  2286. Debounces.scalingDamage = true
  2287. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  2288. setLerp(.15)
  2289. setJointCFrames({
  2290. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  2291. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  2292. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  2293. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  2294. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  2295. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  2296. })
  2297. local boostSpeed = 250
  2298. local efx = Instance.new("Sound",c.Head)
  2299. efx.SoundId = "rbxassetid://200632875"
  2300. efx.Pitch = math.random(1100,1300)/1000
  2301. efx.Volume = .5
  2302. efx:Play()
  2303. spawn(function()
  2304. wait(5)
  2305. efx:Destroy()
  2306. end)
  2307. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  2308. vel.P = 1e3
  2309. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  2310. wait(.15)
  2311. vel.P = 1000
  2312. vel.MaxForce = Vector3.new(3000,0,3000)
  2313. vel.Velocity = Vector3.new()
  2314. wait(.3)
  2315. setLerp(.3)
  2316. setJointCFrames({
  2317. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  2318. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  2319. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  2320. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  2321. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  2322. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  2323. })
  2324. wait(.2)
  2325. vel:Destroy()
  2326. Debounces.damageLevel = 0
  2327. Debounces.scalingDamage = false
  2328. Debounces.isBoosting = false
  2329. end
  2330. end)
  2331.  
  2332. uinps.InputBegan:connect(function(InputObject)
  2333. 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
  2334. Debounces.isBoosting = true
  2335. Debounces.damageLevel = 10
  2336. Debounces.scalingDamage = true
  2337. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  2338. setLerp(.15)
  2339. setJointCFrames({
  2340. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  2341. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  2342. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  2343. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  2344. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  2345. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  2346. })
  2347. local boostSpeed = 250
  2348. local efx = Instance.new("Sound",c.Head)
  2349. efx.SoundId = "rbxassetid://200632875"
  2350. efx.Pitch = math.random(1100,1300)/1000
  2351. efx.Volume = .5
  2352. efx:Play()
  2353. spawn(function()
  2354. wait(5)
  2355. efx:Destroy()
  2356. end)
  2357. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  2358. vel.P = 1e3
  2359. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  2360. wait(.15)
  2361. vel.P = 1000
  2362. vel.MaxForce = Vector3.new(3000,0,3000)
  2363. vel.Velocity = Vector3.new()
  2364. wait(.3)
  2365. setLerp(.3)
  2366. setJointCFrames({
  2367. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  2368. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  2369. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  2370. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  2371. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  2372. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  2373. })
  2374. wait(.2)
  2375. vel:Destroy()
  2376. Debounces.damageLevel = 0
  2377. Debounces.scalingDamage = false
  2378. Debounces.isBoosting = false
  2379. end
  2380. end)
  2381.  
  2382. uinps.InputBegan:connect(function(InputObject)
  2383. 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
  2384. Debounces.isBoosting = true
  2385. Debounces.damageLevel = 10
  2386. Debounces.scalingDamage = true
  2387. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  2388. setLerp(.15)
  2389. setJointCFrames({
  2390. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  2391. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  2392. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  2393. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  2394. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  2395. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  2396. })
  2397. local boostSpeed = 150
  2398. local boostSpeed = 250
  2399. local efx = Instance.new("Sound",c.Head)
  2400. efx.SoundId = "rbxassetid://200632875"
  2401. efx.Pitch = math.random(1100,1300)/1000
  2402. efx.Volume = .5
  2403. efx:Play()
  2404. spawn(function()
  2405. wait(5)
  2406. efx:Destroy()
  2407. end)
  2408. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  2409. vel.P = 1e3
  2410. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  2411. wait(.15)
  2412. vel.P = 1000
  2413. vel.MaxForce = Vector3.new(3000,0,3000)
  2414. vel.Velocity = Vector3.new()
  2415. wait(.3)
  2416. setLerp(.3)
  2417. setJointCFrames({
  2418. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  2419. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  2420. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  2421. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  2422. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  2423. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  2424. })
  2425. wait(.2)
  2426. vel:Destroy()
  2427. Debounces.damageLevel = 0
  2428. Debounces.scalingDamage = false
  2429. Debounces.isBoosting = false
  2430. end
  2431. end)
  2432.  
  2433. uinps.InputBegan:connect(function(InputObject)
  2434. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  2435. local isLooping = true
  2436. uinps.InputEnded:connect(function(InputObject2)
  2437. if InputObject2.KeyCode == Enum.KeyCode.Q then
  2438. isLooping = false
  2439. end
  2440. end)
  2441. while true do
  2442. if isLooping == false then
  2443. break
  2444. end
  2445. Debounces.attackNumber = Debounces.attackNumber + 1
  2446. local aimPos = mouse.Hit.p
  2447. local head = Instance.new("Part",c)
  2448. head.Size = Vector3.new(12,.2,12)
  2449. head.CanCollide = false
  2450. head.Anchored = true
  2451. head.Transparency = 1
  2452. for i = 1,2 do
  2453. local decal = Instance.new("Decal",head)
  2454. decal.Texture = "rbxassetid://323497117"
  2455. if i == 1 then
  2456. decal.Face = Enum.NormalId.Top
  2457. else
  2458. decal.Face = Enum.NormalId.Bottom
  2459. end
  2460. end
  2461. if Debounces.attackNumber%2 == 1 then
  2462. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  2463. else
  2464. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  2465. end
  2466. spawn(function()
  2467. local timer = 0
  2468. while rs.RenderStepped:wait() do
  2469. if timer >= 1.55 then
  2470. break
  2471. end
  2472. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  2473. timer = timer + 1/30/(Debounces.FPS/60)
  2474. end
  2475. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  2476. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  2477. local hit, pos = workspace:FindPartOnRay(ray,c)
  2478. local dis = (head.CFrame.p - pos).magnitude
  2479. local rayPart = Instance.new("Part",rayModel)
  2480. rayPart.Material = "Neon"
  2481. rayPart.FormFactor = "Custom"
  2482. rayPart.BrickColor = BrickColor.new(1,1,1)
  2483. rayPart.Anchored = true
  2484. rayPart.CanCollide = false
  2485. rayPart.Size = Vector3.new(7,7,dis + 400)
  2486. 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)
  2487. rayPart.CFrame = rayCFrame
  2488. head:Destroy()
  2489. end)
  2490. wait()
  2491. local s = Instance.new("Sound",head)
  2492. s.Volume = 1
  2493. s.SoundId = "rbxassetid://332223043"
  2494. s:Play()
  2495. wait(.04)
  2496. end
  2497. end
  2498. end)
  2499.  
  2500. uinps.InputBegan:connect(function(InputObj)
  2501. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  2502. Debounces.isAttacking = true
  2503. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  2504. local head = Instance.new("Part",c)
  2505. head.Size = Vector3.new(18,.2,18)
  2506. head.CanCollide = false
  2507. head.Anchored = true
  2508. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  2509. head.Transparency = 1
  2510. for i = 1,2 do
  2511. local decal = Instance.new("Decal",head)
  2512. decal.Texture = "rbxassetid://323497117"
  2513. if i == 1 then
  2514. decal.Face = Enum.NormalId.Top
  2515. else
  2516. decal.Face = Enum.NormalId.Bottom
  2517. end
  2518. end
  2519. setLerp(.1)
  2520. setJointCFrames({
  2521. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  2522. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  2523. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  2524. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  2525. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  2526. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  2527. })
  2528. spawn(function()
  2529. local timer = 0
  2530. while rs.RenderStepped:wait() do
  2531. if timer >= 1.55/.8 then
  2532. break
  2533. end
  2534. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  2535. timer = timer + 1/30/(Debounces.FPS/60)
  2536. end
  2537. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  2538. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  2539. local hit, pos = workspace:FindPartOnRay(ray,c)
  2540. local dis = (head.CFrame.p - pos).magnitude
  2541. local rayPart = Instance.new("Part",rayModel)
  2542. rayPart.Material = "Neon"
  2543. rayPart.FormFactor = "Custom"
  2544. rayPart.Name = "Punch"
  2545. rayPart.BrickColor = BrickColor.new(1,1,1)
  2546. rayPart.Anchored = true
  2547. rayPart.CanCollide = false
  2548. rayPart.Size = Vector3.new(28,28,dis + 400)
  2549. 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)
  2550. rayPart.CFrame = rayCFrame
  2551. head:Destroy()
  2552. end)
  2553. wait()
  2554. local s = Instance.new("Sound",head)
  2555. s.Volume = 1
  2556. s.SoundId = "rbxassetid://332223043"
  2557. s.Pitch = .8
  2558. s:Play()
  2559. wait(.75)
  2560. setLerp(.17)
  2561. setJointCFrames({
  2562. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  2563. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  2564. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  2565. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  2566. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  2567. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  2568. })
  2569. wait(.5)
  2570. Debounces.isAttacking = false
  2571. end
  2572. end)
  2573.  
  2574. reflect = function(d,n)
  2575. local i, n = -1 * d.unit, n.unit
  2576. local dot = n:Dot(i)
  2577. return 2*dot*n - i
  2578. end
  2579.  
  2580. makeReflectionBeam = function(pos,look,isCrit)
  2581. local ray = Ray.new(pos,look)
  2582. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  2583. local e = Instance.new("Part",rayModel)
  2584. e.Anchored = true
  2585. e.CanCollide = false
  2586. e.BrickColor = BrickColor.new("White")
  2587. e.Material = "Neon"
  2588. e.FormFactor = "Custom"
  2589. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  2590. if isCrit == true then
  2591. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  2592. e.Name = "Punch"
  2593. end
  2594. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  2595. local e = Instance.new("Sound",c)
  2596. if isCrit == true then
  2597. e.Volume = .5
  2598. else
  2599. e.Volume = .3
  2600. e.Pitch = 1.5
  2601. end
  2602. e.SoundId = "rbxassetid://200632875"
  2603. e:Play()
  2604. spawn(function()
  2605. wait(6)
  2606. e:Destroy()
  2607. end)
  2608. wait(.05)
  2609. if hit ~= nil then
  2610. newDir = reflect(look.unit,norm,isCrit)
  2611. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  2612. end
  2613. end
  2614.  
  2615. uinps.InputBegan:connect(function(InputObject)
  2616. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  2617. local isLooping = true
  2618. uinps.InputEnded:connect(function(InputObject2)
  2619. if InputObject2.KeyCode == Enum.KeyCode.Q then
  2620. isLooping = false
  2621. end
  2622. end)
  2623. while true do
  2624. if isLooping == false then
  2625. break
  2626. end
  2627. Debounces.attackNumber = Debounces.attackNumber + 1
  2628. local aimPos = mouse.Hit.p
  2629. local head = Instance.new("Part",c)
  2630. head.Size = Vector3.new(12,.2,12)
  2631. head.CanCollide = false
  2632. head.Anchored = true
  2633. head.Transparency = 1
  2634. for i = 1,2 do
  2635. local decal = Instance.new("Decal",head)
  2636. decal.Texture = "rbxassetid://323497117"
  2637. if i == 1 then
  2638. decal.Face = Enum.NormalId.Top
  2639. else
  2640. decal.Face = Enum.NormalId.Bottom
  2641. end
  2642. end
  2643. if Debounces.attackNumber%2 == 1 then
  2644. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  2645. else
  2646. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  2647. end
  2648. spawn(function()
  2649. local timer = 0
  2650. while rs.RenderStepped:wait() do
  2651. if timer >= 1.55 then
  2652. break
  2653. end
  2654. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  2655. timer = timer + 1/30/(Debounces.FPS/60)
  2656. end
  2657. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  2658. head:Destroy()
  2659. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  2660. end)
  2661.  
  2662. wait()
  2663. local s = Instance.new("Sound",head)
  2664. s.Volume = 1
  2665. s.SoundId = "rbxassetid://332223043"
  2666. s.Pitch = 1.02
  2667. s:Play()
  2668. wait(.2)
  2669. end
  2670. end
  2671. end)
  2672.  
  2673. uinps.InputBegan:connect(function(InputObj)
  2674. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  2675. Debounces.isAttacking = true
  2676. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  2677. local head = Instance.new("Part",c)
  2678. head.Size = Vector3.new(18,.2,18)
  2679. head.CanCollide = false
  2680. head.Anchored = true
  2681. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  2682. head.Transparency = 1
  2683. for i = 1,2 do
  2684. local decal = Instance.new("Decal",head)
  2685. decal.Texture = "rbxassetid://323497117"
  2686. if i == 1 then
  2687. decal.Face = Enum.NormalId.Top
  2688. else
  2689. decal.Face = Enum.NormalId.Bottom
  2690. end
  2691. end
  2692. setLerp(.1)
  2693. setJointCFrames({
  2694. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  2695. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  2696. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  2697. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  2698. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  2699. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  2700. })
  2701. spawn(function()
  2702. local timer = 0
  2703. while rs.RenderStepped:wait() do
  2704. if timer >= 1.55/.8 then
  2705. break
  2706. end
  2707. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  2708. timer = timer + 1/30/(Debounces.FPS/60)
  2709. end
  2710. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  2711. head:Destroy()
  2712. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  2713. end)
  2714. wait()
  2715. local s = Instance.new("Sound",head)
  2716. s.Volume = 2
  2717. s.SoundId = "rbxassetid://332223043"
  2718. s.Pitch = .8
  2719. s:Play()
  2720. wait(.75)
  2721. setLerp(.17)
  2722. setJointCFrames({
  2723. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  2724. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  2725. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  2726. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  2727. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  2728. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  2729. })
  2730. wait(.5)
  2731. Debounces.isAttacking = false
  2732. end
  2733. end)
  2734.  
  2735. uinps.InputBegan:connect(function(InputObj)
  2736. if InputObj.KeyCode == Enum.KeyCode.Slash then
  2737. local finishEvent = nil
  2738. Debounces.isTyping = true
  2739. finishEvent = uinps.InputBegan:connect(function(InputObj)
  2740. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  2741. Debounces.isTyping = false
  2742. finishEvent:disconnect()
  2743. end
  2744. end)
  2745. end
  2746. end)
  2747.  
  2748. uinps.InputBegan:connect(function(InputObj)
  2749. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  2750. Debounces.isSprinting = true
  2751. end
  2752. end)
  2753.  
  2754. uinps.InputEnded:connect(function(InputObj)
  2755. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  2756. Debounces.isSprinting = false
  2757. end
  2758. end)
  2759.  
  2760. rs.RenderStepped:connect(function()
  2761. Debounces.FPS = 1/rs.RenderStepped:wait()
  2762. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  2763. if Debounces.isPassive == false then
  2764. fight:Pause()
  2765. sans:Resume()
  2766. efxBlock.Transparency = 1
  2767. else
  2768. fight:Resume()
  2769. sans:Pause()
  2770. efxBlock.Transparency = 0
  2771. end
  2772. for i,v in pairs (rayModel:children()) do
  2773. if v.Transparency >= 1 then
  2774. v:Destroy()
  2775. else
  2776. v.CanCollide = true
  2777. local parts = v:GetTouchingParts()
  2778. v.CanCollide = false
  2779. for i = 1,#parts do
  2780. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  2781. parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  2782. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  2783. parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  2784. end
  2785. end
  2786. v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  2787. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  2788. end
  2789. end
  2790. for i = 1,#Joints do
  2791. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  2792. end
  2793. light.Brightness = math.random(1,4)
  2794. end)
  2795. -- ~CLarramore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement