Advertisement
1x11337

Killerman

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