Advertisement
XskillyX

roblox S A N S

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