Advertisement
Guest User

Untitled

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