Advertisement
Guest User

Untitled

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