Advertisement
Guest User

Untitled

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