Advertisement
PowerSans124

ERROR SANS

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