Advertisement
PowerSans124

Dust Sans Test

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