Advertisement
PowerSans124

FLOWEY SCRIPT

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