Advertisement
Guest User

Untitled

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