Advertisement
DavisRBLX

tt2

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