Advertisement
PowerSans124

fatal error wings

Jul 11th, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.07 KB | None | 0 0
  1. --[[
  2. req list
  3.  
  4. heart control (the force)
  5.  
  6. teleport
  7.  
  8. bone zone
  9.  
  10. throw bones
  11. --]]
  12.  
  13.  
  14.  
  15. local Level=5435325
  16. local function RiseLevel(hum,dmg)
  17. if tonumber(Level)then
  18. if hum.Health>0 and hum.Health-dmg<=0 then Level=Level+34234
  19. local s=Instance.new("Sound")end--s. end
  20. else warn'String is not able to level up , or having issure to level.'end
  21. end
  22.  
  23. local Tired={n=0,m=31435453,d=false}local DefAble=true
  24. local p = game:service'Players'.LocalPlayer
  25. local char = p.Character
  26. local mouse = p:GetMouse()
  27. local larm = char["Left Arm"]
  28. local rarm = char["Right Arm"]
  29. local lleg = char["Left Leg"]
  30. local rleg = char["Right Leg"]
  31. local hed = char.Head
  32. local Torso = char.Torso
  33. local hum = char.Humanoid
  34. local cam = workspace.CurrentCamera
  35. local root = char.HumanoidRootPart
  36. local deb = false
  37. local shot = 0
  38. local potential = false
  39. local debris=game:service"Debris"
  40. local l = game:GetService("Lighting")
  41. local rs = game:GetService("RunService").RenderStepped
  42. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  43. math.randomseed(os.time())
  44. for i,v in pairs(char:children()) do
  45. if v:IsA("Accessory") then
  46. v:Destroy()
  47. end
  48. end
  49. for i,v in pairs (hed:GetChildren()) do
  50. if v:IsA("Sound") then
  51. v:Destroy()
  52. end
  53. end
  54. music = Instance.new("Sound",c)
  55. music2 = Instance.new("Sound",c)
  56. local pl = game:service'Players'.LocalPlayer
  57. local chara = pl.Character
  58. local hum = chara:FindFirstChildOfClass("Humanoid")
  59. hum.MaxHealth = 10000000000000000000
  60. hum.Health = 10000000000000000000
  61. maincol = "White"
  62. increment = 20
  63. if 1 then
  64. local MovesGui=Instance.new("ScreenGui",p:FindFirstChildOfClass("PlayerGui"))
  65. local Frm=Instance.new("Frame",MovesGui)Frm.BackgroundColor3=Color3.new()Frm.BorderSizePixel=0
  66. Frm.BackgroundTransparency=.5 Frm.Size=UDim2.new(.3,0,.5,0)local Show=true Frm.Position=UDim2.new(.7,0,.5,0)
  67. local idk=Instance.new("TextButton",Frm)idk.Size=UDim2.new(.5,0,.1,0)idk.Position=UDim2.new(-.5,0,.8,0)
  68. idk.Text="Hide"idk.TextStrokeTransparency=0 idk.BackgroundTransparency=.5 idk.BackgroundColor3=Color3.new()
  69. idk.BorderSizePixel=0 idk.TextColor3=Color3.new(1,1,1)
  70. idk.MouseButton1Click:connect(function()Show=not Show idk.Text=Show and "Hide"or"Show"end)
  71. local normal=Instance.new("TextLabel",Frm)normal.Size=UDim2.new(1,0,1,0)normal.TextStrokeTransparency=0
  72. normal.BackgroundTransparency=1 normal.TextColor3=Color3.new(1,1,1)
  73. normal.TextXAlignment="Left"normal.TextYAlignment="Top"
  74. normal.Text=[[* Able to hold
  75. ! It changes function when sprint
  76. ----------------------------------
  77. K: FATAL 3RROR
  78. !*Q :FATAL ERROR Blast3r (quick)
  79. ! E :FATAL 3RROR Blast3r (high damage)
  80. T :Fatal Error Teleport
  81. F :Fatal Error Bone Zone
  82. *G :Fatal Error Bone Throw
  83. *C :Fatal Error Heart Control
  84. Shift : Sprint
  85. EDIT by PowerSans1234
  86.  
  87.  
  88. ]]
  89. spawn(function()
  90. while game:service'RunService'.RenderStepped:wait()do
  91. Frm.Position=Frm.Position:lerp(UDim2.new(not Show and 1 or .7,0,.5,0),.1)
  92. end end)
  93. end
  94. --------------------------------------------------------
  95. hed.face.Texture = "rbxassetid://543498118"
  96. chara:WaitForChild"Body Colors"
  97. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  98. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  99. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  100. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  101. char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
  102. char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
  103. ---------------------------------------
  104. ypcall(function()
  105. shirt = Instance.new("Shirt", char)
  106. shirt.Name = "Shirt"
  107. pants = Instance.new("Pants", char)
  108. pants.Name = "Pants"
  109. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=593975722"
  110. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=454906054"
  111. end)
  112. --------------------------------------------------------
  113. KG = Instance.new("Sound", game.Players.LocalPlayer.Character)
  114. KG.Volume = 7
  115. KG.SoundId = "rbxassetid://177531099"
  116. KG.Looped = true
  117. KG:Play()
  118.  
  119. --------------------------------------------------------
  120. --bird wings Gifted by harrypotterfan249, Local Script!
  121. --Jump Two Time
  122. --Down Press Q
  123.  
  124. script.Parent = nil
  125.  
  126. function fly()
  127.  
  128. for i,v in pairs(script:GetChildren()) do
  129.  
  130. pcall(function() v.Value = "" end)
  131.  
  132. game:GetService("Debris"):AddItem(v,.1)
  133.  
  134. end
  135.  
  136. function weld(p0,p1,c0,c1,par)
  137.  
  138. local w = Instance.new("Weld",p0 or par)
  139.  
  140. w.Part0 = p0
  141.  
  142. w.Part1 = p1
  143.  
  144. w.C0 = c0 or CFrame.new()
  145.  
  146. w.C1 = c1 or CFrame.new()
  147.  
  148. return w
  149.  
  150. end
  151.  
  152. local motors = {}
  153.  
  154. function motor(p0,p1,c0,c1,des,vel,par)
  155.  
  156. local w = Instance.new("Motor6D",p0 or par)
  157.  
  158. w.Part0 = p0
  159.  
  160. w.Part1 = p1
  161.  
  162. w.C0 = c0 or CFrame.new()
  163.  
  164. w.C1 = c1 or CFrame.new()
  165.  
  166. w.MaxVelocity = tonumber(vel) or .05
  167.  
  168. w.DesiredAngle = tonumber(des) or 0
  169.  
  170. return w
  171.  
  172. end
  173.  
  174. function lerp(a,b,c)
  175.  
  176. return a+(b-a)*c
  177.  
  178. end
  179.  
  180. function clerp(c1,c2,al)
  181.  
  182. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  183.  
  184. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  185.  
  186. for i,v in pairs(com1) do
  187.  
  188. com1[i] = lerp(v,com2[i],al)
  189.  
  190. end
  191.  
  192. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  193.  
  194. end
  195.  
  196. function ccomplerp(c1,c2,al)
  197.  
  198. local com1 = {c1:components()}
  199.  
  200. local com2 = {c2:components()}
  201.  
  202. for i,v in pairs(com1) do
  203.  
  204. com1[i] = lerp(v,com2[i],al)
  205.  
  206. end
  207.  
  208. return CFrame.new(unpack(com1))
  209.  
  210. end
  211.  
  212. function tickwave(time,length,offset)
  213.  
  214. return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length
  215.  
  216. end
  217.  
  218. function invcol(c)
  219.  
  220. c = c.Color
  221.  
  222. return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r))
  223.  
  224. end
  225.  
  226. local oc = oc or function(...) return ... end
  227.  
  228. local plr = game.Players.LocalPlayer
  229.  
  230. local char = plr.Character
  231.  
  232. local tor = char.Torso
  233.  
  234. local hum = char.Humanoid
  235.  
  236. hum.PlatformStand = false
  237.  
  238. pcall(function()
  239.  
  240. char.Wings:Destroy()
  241.  
  242. end)
  243.  
  244. pcall(function()
  245.  
  246. char.Angel:Destroy() -- hat
  247.  
  248. end)
  249.  
  250. local mod = Instance.new("Model",char)
  251.  
  252. mod.Name = "Wings"
  253.  
  254. local special = {
  255.  
  256. --antiboomz0r = {"Really black","Institutional white",0,0,false,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  257.  
  258. antiboomz0r = {"New Yeller",nil,0.4,0.7,true,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  259.  
  260. --antiboomz0r = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  261.  
  262. taart = {"Royal purple",nil,.4,.4,true},
  263.  
  264. mitta = {"Black",nil,0,0,false},
  265.  
  266. penjuin3 = {"White",nil,0,0,false},
  267.  
  268. thepc8110 = {"Black","Bright red",.5,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  269.  
  270. nonspeaker = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  271.  
  272. littleau999 = {"Reddish brown",1030,0,0,false},
  273.  
  274. unscripter = {"Really black","Really black",.2,0,true,Color3.new(0,0,0),Color3.new(0,0,0)},
  275.  
  276. oxcool1 = {"Really black","White",.2,0,false,Color3.new(0,0,0),Color3.new(0,0,0)},
  277.  
  278. krodmiss = {"Really black",nil,0,0,false},
  279.  
  280. }
  281.  
  282. local topcolor = invcol(char.Torso.BrickColor)
  283.  
  284. local feacolor = char.Torso.BrickColor
  285.  
  286. local ptrans = 0
  287.  
  288. local pref = 0
  289.  
  290. local fire = false
  291.  
  292. local fmcol = Color3.new()
  293.  
  294. local fscol = Color3.new()
  295.  
  296. local spec = special[plr.Name:lower()]
  297.  
  298. if spec then
  299.  
  300. topcolor,feacolor,ptrans,pref,fire,fmcol,fscol = spec[1] and BrickColor.new(spec[1]) or topcolor,spec[2] and BrickColor.new(spec[2]) or feacolor,spec[3],spec[4],spec[5],spec[6],spec[7]
  301.  
  302. end
  303.  
  304. local part = Instance.new("Part")
  305.  
  306. part.FormFactor = "Custom"
  307.  
  308. part.Size = Vector3.new(.2,.2,.2)
  309.  
  310. part.TopSurface,part.BottomSurface = 0,0
  311.  
  312. part.CanCollide = false
  313.  
  314. part.BrickColor = topcolor
  315.  
  316. part.Transparency = ptrans
  317.  
  318. part.Reflectance = pref
  319.  
  320. local ef = Instance.new("Fire",fire and part or nil)
  321.  
  322. ef.Size = .15
  323.  
  324. ef.Color = fmcol or Color3.new()
  325.  
  326. ef.SecondaryColor = fscol or Color3.new()
  327.  
  328. part:BreakJoints()
  329.  
  330.  
  331. function newpart()
  332.  
  333. local clone = part:Clone()
  334.  
  335. clone.Parent = mod
  336.  
  337. clone:BreakJoints()
  338.  
  339. return clone
  340.  
  341. end
  342.  
  343. local feath = newpart()
  344.  
  345. feath.BrickColor = feacolor
  346.  
  347. feath.Transparency = 0
  348.  
  349. Instance.new("SpecialMesh",feath).MeshType = "Sphere"
  350.  
  351. function newfeather()
  352.  
  353. local clone = feath:Clone()
  354.  
  355. clone.Parent = mod
  356.  
  357. clone:BreakJoints()
  358.  
  359. return clone
  360.  
  361. end
  362.  
  363.  
  364. ---------- RIGHT WING
  365.  
  366. local r1 = newpart()
  367.  
  368. r1.Size = Vector3.new(.3,1.5,.3)*1.2
  369.  
  370. local rm1 = motor(tor,r1,CFrame.new(.35,.6,.4) * CFrame.Angles(0,0,math.rad(-60)) * CFrame.Angles(math.rad(30),math.rad(-25),0),CFrame.new(0,-.8,0),.1)
  371.  
  372. local r2 = newpart()
  373.  
  374. r2.Size = Vector3.new(.4,1.8,.4)*1.2
  375.  
  376. local rm2 = motor(r1,r2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(-30),math.rad(15),0),CFrame.new(0,-.9,0),.1)
  377.  
  378. local r3 = newpart()
  379.  
  380. r3.Size = Vector3.new(.3,2.2,.3)*1.2
  381.  
  382. local rm3 = motor(r2,r3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-1.1,0),.1)
  383.  
  384. local r4 = newpart()
  385.  
  386. r4.Size = Vector3.new(.25,1.2,.25)*1.2
  387.  
  388. local rm4 = motor(r3,r4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-.6,0),.1)
  389.  
  390. local feather = newfeather()
  391.  
  392. feather.Mesh.Scale = Vector3.new(1,1,1)
  393.  
  394. feather.Size = Vector3.new(.4,3,.3)
  395.  
  396. weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  397.  
  398. feather = newfeather()
  399.  
  400. feather.Mesh.Scale = Vector3.new(1,1,1)
  401.  
  402. feather.Size = Vector3.new(.4,2.3,.3)
  403.  
  404. weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  405.  
  406. feather = newfeather()
  407.  
  408. feather.Mesh.Scale = Vector3.new(1,1,1)
  409.  
  410. feather.Size = Vector3.new(.35,2.2,.25)
  411.  
  412. weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  413.  
  414. local rf3 = {}
  415.  
  416. for i=0,7 do
  417.  
  418. feather = newfeather()
  419.  
  420. feather.Mesh.Scale = Vector3.new(1,1,1)
  421.  
  422. feather.Size = Vector3.new(.45,2.2,.35)
  423.  
  424. table.insert(rf3,motor(r3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  425.  
  426. end
  427.  
  428. local rf2 = {}
  429.  
  430. for i=0,6 do
  431.  
  432. feather = newfeather()
  433.  
  434. feather.Mesh.Scale = Vector3.new(1,1,1)
  435.  
  436. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  437.  
  438. table.insert(rf2,motor(r2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  439.  
  440. end
  441.  
  442. local rf1 = {}
  443.  
  444. for i=0,6 do
  445.  
  446. feather = newfeather()
  447.  
  448. feather.Mesh.Scale = Vector3.new(1,1,1)
  449.  
  450. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  451.  
  452. table.insert(rf1,motor(r1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  453.  
  454. end
  455.  
  456. ---------- LEFT WING
  457.  
  458. local l1 = newpart()
  459.  
  460. l1.Size = Vector3.new(.3,1.5,.3)*1.2
  461.  
  462. local lm1 = motor(tor,l1,CFrame.new(-.35,.6,.4) * CFrame.Angles(0,0,math.rad(60)) * CFrame.Angles(math.rad(30),math.rad(25),0) * CFrame.Angles(0,-math.pi,0),CFrame.new(0,-.8,0) ,.1)
  463.  
  464. local l2 = newpart()
  465.  
  466. l2.Size = Vector3.new(.4,1.8,.4)*1.2
  467.  
  468. local lm2 = motor(l1,l2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(30),math.rad(-15),0),CFrame.new(0,-.9,0),.1)
  469.  
  470. local l3 = newpart()
  471.  
  472. l3.Size = Vector3.new(.3,2.2,.3)*1.2
  473.  
  474. local lm3 = motor(l2,l3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-1.1,0),.1)
  475.  
  476. local l4 = newpart()
  477.  
  478. l4.Size = Vector3.new(.25,1.2,.25)*1.2
  479.  
  480. local lm4 = motor(l3,l4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-.6,0),.1)
  481.  
  482. local feather = newfeather()
  483.  
  484. feather.Mesh.Scale = Vector3.new(1,1,1)
  485.  
  486. feather.Size = Vector3.new(.4,3,.3)
  487.  
  488. weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  489.  
  490. feather = newfeather()
  491.  
  492. feather.Mesh.Scale = Vector3.new(1,1,1)
  493.  
  494. feather.Size = Vector3.new(.4,2.3,.3)
  495.  
  496. weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  497.  
  498. feather = newfeather()
  499.  
  500. feather.Mesh.Scale = Vector3.new(1,1,1)
  501.  
  502. feather.Size = Vector3.new(.35,2.2,.25)
  503.  
  504. weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  505.  
  506. local lf3 = {}
  507.  
  508. for i=0,7 do
  509.  
  510. feather = newfeather()
  511.  
  512. feather.Mesh.Scale = Vector3.new(1,1,1)
  513.  
  514. feather.Size = Vector3.new(.45,2.2,.35)
  515.  
  516. table.insert(lf3,motor(l3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  517.  
  518. end
  519.  
  520. local lf2 = {}
  521.  
  522. for i=0,6 do
  523.  
  524. feather = newfeather()
  525.  
  526. feather.Mesh.Scale = Vector3.new(1,1,1)
  527.  
  528. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  529.  
  530. table.insert(lf2,motor(l2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  531.  
  532. end
  533.  
  534. local lf1 = {}
  535.  
  536. for i=0,6 do
  537.  
  538. feather = newfeather()
  539.  
  540. feather.Mesh.Scale = Vector3.new(1,1,1)
  541.  
  542. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  543.  
  544. table.insert(lf1,motor(l1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  545.  
  546. end
  547.  
  548. local rwing = {rm1,rm2,rm3,rm4}
  549.  
  550. local lwing = {lm1,lm2,lm3,lm4}
  551.  
  552. local oc0 = {}
  553.  
  554. for i,v in pairs(rwing) do
  555.  
  556. oc0[v] = v.C0
  557.  
  558. end
  559.  
  560. for i,v in pairs(lwing) do
  561.  
  562. oc0[v] = v.C0
  563.  
  564. end
  565.  
  566. function gotResized()
  567.  
  568. if lastsize then
  569.  
  570. if tor.Size == lastsize then return end -- This shouldn't happen?
  571.  
  572. local scaleVec = tor.Size/lastsize
  573.  
  574. for i,v in pairs(oc0) do
  575.  
  576. oc0[i] = v-v.p+scaleVec*v.p
  577.  
  578. end
  579.  
  580. lastsize = tor.Size
  581.  
  582. end
  583.  
  584. lastsize = tor.Size
  585.  
  586. end
  587.  
  588. tor.Changed:connect(function(p)
  589.  
  590. if p == "Size" then
  591.  
  592. gotResized()
  593.  
  594. end
  595.  
  596. end)
  597.  
  598. gotResized()
  599.  
  600. local idle = {0,0.5,-.2,0; .05,.05,.1,.05; -.6,-1.5,.1,0;}--0,.3,0,0
  601.  
  602. local outlow = {-.7,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  603.  
  604. local outhigh = {.5,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  605.  
  606. local veryhigh = {.9,-.3,1.9,0; .3,.05,.1,.05; .2,0,0,0}
  607.  
  608. local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
  609.  
  610. local divebomb = {0,.2,.4,-.7; .3,.05,.1,.05; 0,-.5,-.6,0}
  611.  
  612.  
  613. function setwings(tab,time)
  614.  
  615. time = time or 10
  616.  
  617. for i=1,4 do
  618.  
  619. rwing[i].DesiredAngle = tab[i]
  620.  
  621. lwing[i].DesiredAngle = tab[i]
  622.  
  623. rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time
  624.  
  625. lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time
  626.  
  627. local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new())
  628.  
  629. local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new())
  630.  
  631. end
  632.  
  633. for i,v in pairs(rf1) do
  634.  
  635. v.DesiredAngle = tab[9]
  636.  
  637. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  638.  
  639. end
  640.  
  641. for i,v in pairs(lf1) do
  642.  
  643. v.DesiredAngle = tab[9]
  644.  
  645. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  646.  
  647. end
  648.  
  649. for i,v in pairs(rf2) do
  650.  
  651. v.DesiredAngle = tab[10]
  652.  
  653. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  654.  
  655. end
  656.  
  657. for i,v in pairs(lf2) do
  658.  
  659. v.DesiredAngle = tab[10]
  660.  
  661. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  662.  
  663. end
  664.  
  665. for i,v in pairs(rf3) do
  666.  
  667. v.DesiredAngle = tab[11]
  668.  
  669. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  670.  
  671. end
  672.  
  673. for i,v in pairs(lf3) do
  674.  
  675. v.DesiredAngle = tab[11]
  676.  
  677. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  678.  
  679. end
  680.  
  681. end
  682.  
  683. setwings(outhigh,1)
  684.  
  685. flying = false
  686.  
  687. moving = false
  688.  
  689. for i,v in pairs(tor:GetChildren()) do
  690.  
  691. if v.ClassName:lower():match("body") then
  692.  
  693. v:Destroy()
  694.  
  695. end
  696.  
  697. end
  698.  
  699. local ctor = tor:Clone()
  700.  
  701. ctor:ClearAllChildren()
  702.  
  703. ctor.Name = "cTorso"
  704.  
  705. ctor.Transparency = 1
  706.  
  707. ctor.CanCollide = false
  708.  
  709. ctor.FormFactor = "Custom"
  710.  
  711. ctor.Size = Vector3.new(.2,.2,.2)
  712.  
  713. ctor.Parent = mod
  714.  
  715. weld(tor,ctor)
  716.  
  717. local bg = Instance.new("BodyGyro",ctor)
  718.  
  719. bg.maxTorque = Vector3.new()
  720.  
  721. bg.P = 15000
  722.  
  723. bg.D = 1000
  724.  
  725. local bv = Instance.new("BodyVelocity",ctor)
  726.  
  727. bv.maxForce = Vector3.new()
  728.  
  729. bv.P = 15000
  730.  
  731. vel = Vector3.new()
  732.  
  733. cf = CFrame.new()
  734.  
  735. flspd = 0
  736.  
  737.  
  738. keysdown = {}
  739.  
  740. keypressed = {}
  741.  
  742. ktime = {}
  743.  
  744. descendtimer = 0
  745.  
  746. jumptime = tick()
  747.  
  748. hum.Jumping:connect(function()
  749.  
  750. jumptime = tick()
  751.  
  752. end)
  753.  
  754. cam = workspace.CurrentCamera
  755.  
  756. kd = plr:GetMouse().KeyDown:connect(oc(function(key)
  757.  
  758. keysdown[key] = true
  759.  
  760. keypressed[key] = true
  761.  
  762. if key == "q" then
  763.  
  764. descendtimer = tick()
  765.  
  766. elseif key == " " and not hum.Jump then
  767.  
  768. jumptime = tick()
  769.  
  770. elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .3 then
  771.  
  772. reqrotx = key == "a" and math.pi*2 or -math.pi*2
  773.  
  774. end
  775.  
  776. ktime[key] = tick()
  777.  
  778. end))
  779.  
  780. ku = plr:GetMouse().KeyUp:connect(function(key)
  781.  
  782. keysdown[key] = false
  783.  
  784. if key == " " then
  785.  
  786. descendtimer = tick()
  787.  
  788. end
  789.  
  790. end)
  791.  
  792. function mid(a,b,c)
  793.  
  794. return math.max(a,math.min(b,c or -a))
  795.  
  796. end
  797.  
  798. function bn(a)
  799.  
  800. return a and 1 or 0
  801.  
  802. end
  803.  
  804. function gm(tar)
  805.  
  806. local m = 0
  807.  
  808. for i,v in pairs(tar:GetChildren()) do
  809.  
  810. if v:IsA("BasePart") then
  811.  
  812. m = m + v:GetMass()
  813.  
  814. end
  815.  
  816. m = m + gm(v)
  817.  
  818. end
  819.  
  820. return m
  821.  
  822. end
  823.  
  824. reqrotx = 0
  825.  
  826. local grav = 196.2
  827.  
  828. local con
  829.  
  830. con = game:GetService("RunService").Stepped:connect(oc(function()
  831.  
  832. --[[if not mod:IsDescendantOf(workspace) then
  833.  
  834. pcall(function() kd:disconnect() end)
  835.  
  836. pcall(function() ku:disconnect() end)
  837.  
  838. bg:Destroy()
  839.  
  840. bv:Destroy()
  841.  
  842. con:disconnect()
  843.  
  844. script:Destroy()
  845.  
  846. return
  847.  
  848. end]]
  849.  
  850. local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity)
  851.  
  852. local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z
  853.  
  854. if flying then
  855.  
  856. local lfldir = fldir
  857.  
  858. fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit
  859.  
  860. local lmoving = moving
  861.  
  862. moving = fldir.magnitude > .1
  863.  
  864. if lmoving and not moving then
  865.  
  866. idledir = lfldir*Vector3.new(1,0,1)
  867.  
  868. descendtimer = tick()
  869.  
  870. end
  871.  
  872. local dbomb = fldir.Y < -.6 or (moving and keysdown["1"])
  873.  
  874. if moving and keysdown["0"] and lmoving then
  875.  
  876. fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit
  877.  
  878. end
  879.  
  880. local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0))
  881.  
  882. local descending = (not moving and keysdown["q"] and not keysdown[" "])
  883.  
  884. cf = ccomplerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07)
  885.  
  886. local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05
  887.  
  888. hum.PlatformStand = true
  889.  
  890. bg.maxTorque = Vector3.new(1,1,1)*9e5
  891.  
  892. local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector
  893.  
  894. bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0)
  895.  
  896. reqrotx = reqrotx - reqrotx/10
  897.  
  898. bv.maxForce = Vector3.new(1,1,1)*9e4*.5
  899.  
  900. local anioff =(bn(keysdown[" "])-bn(keysdown["q"]))/2
  901.  
  902. local ani = tickwave(1.5-anioff,1)
  903.  
  904. bv.velocity = bv.velocity:Lerp(Vector3.new(0,bn(not moving)*-ani*15+(descending and math.min(20,tick()-descendtimer)*-8 or bn(keysdown[" "])-bn(keysdown["q"]))*15,0)+vel,.6)
  905.  
  906. vel = moving and cf.lookVector*flspd or Vector3.new()
  907.  
  908. flspd = math.min(120,lerp(flspd,moving and (fldir.Y<0 and flspd+(-fldir.Y)*grav/60 or math.max(50,flspd-fldir.Y*grav/300)) or 60,.4))
  909.  
  910. setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15)
  911.  
  912. for i=1,4 do
  913.  
  914. --CFrame.Angles(-.5+bn(i==3)*2.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1)
  915.  
  916. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-.5+bn(i==3)*.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) or descending and CFrame.Angles(.3,0,0) or CFrame.Angles((i*.1+1.5)*ani,ani*-.5,1*ani)),descending and .8 or .2)
  917.  
  918. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-(-.5+bn(i==3)*.4+bn(i==4)*.5),-(.1+bn(i==2)*.5-bn(i==3)*1.1),bn(i==3)*.1) or descending and CFrame.Angles(-.3,0,0) or CFrame.Angles(-(i*.1+1.5)*ani,ani*.5,1*ani)),descending and .8 or .2)
  919.  
  920. end
  921.  
  922. local hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),{char})
  923.  
  924. if hit and down.Y < -.85 and tick()-flystart > 1 then
  925.  
  926. flying = false
  927.  
  928. hum.PlatformStand = false
  929.  
  930. tor.Velocity = Vector3.new()
  931.  
  932. end
  933.  
  934. else
  935.  
  936. bg.maxTorque = Vector3.new()
  937.  
  938. bv.maxForce = Vector3.new()
  939.  
  940. local ani = tickwave(walking and .8 or 4.5,1)
  941.  
  942. setwings(idle,10)
  943.  
  944. local x,y,z = fspd/160,uspd/700,sspd/900
  945.  
  946. for i=1,4 do
  947.  
  948. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * CFrame.Angles(ani*.1 + -mid(-.1,x),0 + -mid(-.1,y) + bn(i==2)*.6,ani*.02 + -mid(-.1,z)),.2)
  949.  
  950. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * CFrame.Angles(ani*-.05 + mid(-.1,x),0 + mid(-.1,y) + -bn(i==2)*.6,ani*.02 + mid(-.1,z)),.2)
  951.  
  952. end
  953.  
  954. if keypressed[" "] and not flying and (tick()-jumptime > .05 and (tick()-jumptime < 3 or hum.Jump)) then
  955.  
  956. vel = Vector3.new(0,50,0)
  957.  
  958. bv.velocity = vel
  959.  
  960. idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1)
  961.  
  962. cf = tor.CFrame * CFrame.Angles(-.01,0,0)
  963.  
  964. tor.CFrame = cf
  965.  
  966. bg.cframe = cf
  967.  
  968. flystart = tick()
  969.  
  970. flying = true
  971.  
  972. end
  973.  
  974. end
  975.  
  976. keypressed = {}
  977.  
  978. end))
  979.  
  980.  
  981.  
  982. end fly()
  983.  
  984. --Bird Wings By Rosemarijohn2
  985. --------------------------------------------------------
  986. CV="Eggplant"
  987. p = game.Players.LocalPlayer
  988. char = p.Character
  989. local txt = Instance.new("BillboardGui", char)
  990. txt.Adornee = char .Head
  991. txt.Name = "_status"
  992. txt.Size = UDim2.new(2, 0, 1.2, 0)
  993. txt.StudsOffset = Vector3.new(-9, 8, 0)
  994. local text = Instance.new("TextLabel", txt)
  995. text.Size = UDim2.new(10, 0, 7, 0)
  996. text.FontSize = "Size24"
  997. text.TextScaled = true
  998. text.TextTransparency = 0
  999. text.BackgroundTransparency = 1
  1000. text.TextTransparency = 0
  1001. text.TextStrokeTransparency = 0
  1002. text.Font = "Arcade"
  1003. text.TextStrokeColor3 = Color3.new(255,255,255)
  1004.  
  1005. v=Instance.new("Part")
  1006. v.Name = "ColorBrick"
  1007. v.Parent=p.Character
  1008. v.FormFactor="Symmetric"
  1009. v.Anchored=true
  1010. v.CanCollide=false
  1011. v.BottomSurface="Smooth"
  1012. v.TopSurface="Smooth"
  1013. v.Size=Vector3.new(10,5,3)
  1014. v.Transparency=1
  1015. v.CFrame=char.Torso.CFrame
  1016. v.BrickColor=BrickColor.new(CV)
  1017. v.Transparency=1
  1018. text.TextColor3 = Color3.new(255,0,0)
  1019. v.Shape="Block"
  1020. wait()
  1021. text.Text = "FATAL ERROR"
  1022. wait(5)
  1023. text.Text = "Yeah That Me";
  1024. wait(5)
  1025. text.Text = "ERROR =)"
  1026. wait(3)
  1027. text.TextColor3 = Color3.new(255,0,0)
  1028. spawn(function()while wait()do text.Text = "Fatal Error LV"..tostring(Level)end end)
  1029. hed.face.Texture = "rbxassetid://543498118"
  1030. --------------------------------------------------------
  1031. pls = game:GetService'Players'
  1032. rs = game:GetService'RunService'
  1033. uinps = game:GetService'UserInputService'
  1034. lp = pls.LocalPlayer
  1035. mouse = lp:GetMouse()
  1036. c = lp.Character
  1037. human = c.Humanoid
  1038. human.MaxHealth = 1/0
  1039. wait()
  1040. human.Health = 0/0
  1041. c.Health:Destroy()
  1042. ------------
  1043.  
  1044. Debounces = {
  1045. AnimationCycles = 0;
  1046. FPS = 0;
  1047. scalingDamage = false;
  1048. damageLevel = 0;
  1049. attackNumber = 0;
  1050. isAttacking = false;
  1051. isMoving = false;
  1052. isSprinting = false;
  1053. isBoosting = false;
  1054. isPassive = false;
  1055. isTyping = false;
  1056. }
  1057.  
  1058. --------------------------------------------------------
  1059.  
  1060. numLerp = function(start, goal, alpha)
  1061. return(((goal - start) * alpha) + start)
  1062. end
  1063.  
  1064. CFrameZero = function()
  1065. return CFrame.new(Vector3.new())
  1066. end
  1067.  
  1068. rad = function(value)
  1069. return math.rad(value)
  1070. end
  1071.  
  1072. CFAngles = function(Vector)
  1073. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  1074. end
  1075.  
  1076. --------------------------------------------------------
  1077.  
  1078. AnimStat = {
  1079. lerpSpeed = .2;
  1080. lerpSpeed2 = .35;
  1081. lerpTween = 0;
  1082. }
  1083.  
  1084. Joints = {
  1085. c.HumanoidRootPart.RootJoint;
  1086. c.Torso.Neck;
  1087. c.Torso['Left Shoulder'];
  1088. c.Torso['Right Shoulder'];
  1089. c.Torso['Left Hip'];
  1090. c.Torso['Right Hip'];
  1091. }
  1092.  
  1093. JointTargets = {
  1094. CFrameZero();
  1095. CFrameZero();
  1096. CFrameZero();
  1097. CFrameZero();
  1098. CFrameZero();
  1099. CFrameZero();
  1100. }
  1101.  
  1102. --------------------------------------------------------
  1103.  
  1104. BodyColors = {
  1105. HeadColor = BrickColor.new("Really black");
  1106. LeftArmColor = BrickColor.new("Really black");
  1107. RightArmColor = BrickColor.new("Really black");
  1108. LeftLegColor = BrickColor.new("Really black");
  1109. RightLegColor = BrickColor.new("Really black");
  1110. TorsoColor = BrickColor.new("Really black");
  1111. }
  1112.  
  1113. Customs = {
  1114. Face = "http://www.roblox.com/asset/?id=871052201";
  1115. Shirt = "http://www.roblox.com/asset/?id=357134155";
  1116. Pants = "http://www.roblox.com/asset/?id=343128366";
  1117. }
  1118.  
  1119. --------------------------------------------------------
  1120.  
  1121. prepareCharacter = function()
  1122. local transPoints = {
  1123. NumberSequenceKeypoint.new(0,.819,.0375),
  1124. NumberSequenceKeypoint.new(.207,.594,.0187),
  1125. NumberSequenceKeypoint.new(.4,.55,.031),
  1126. NumberSequenceKeypoint.new(.57,.619,.05),
  1127. NumberSequenceKeypoint.new(.76,.8,.0375),
  1128. NumberSequenceKeypoint.new(1,1,0),
  1129. }
  1130. local sizePoints = {
  1131. NumberSequenceKeypoint.new(0,.687,0),
  1132. NumberSequenceKeypoint.new(.111,.875,0),
  1133. NumberSequenceKeypoint.new(.327,1.19,0),
  1134. NumberSequenceKeypoint.new(.646,1.56,0),
  1135. NumberSequenceKeypoint.new(.805,1.37,0),
  1136. NumberSequenceKeypoint.new(.905,1.06,0),
  1137. NumberSequenceKeypoint.new(.968,.938,0),
  1138. NumberSequenceKeypoint.new(.984,1.13,0),
  1139. NumberSequenceKeypoint.new(1,1.62,0),
  1140. }
  1141. local Size = NumberSequence.new(sizePoints)
  1142. local Transparency = NumberSequence.new(transPoints)
  1143. rayModel = Instance.new("Model",c)
  1144. efcModel = Instance.new("Model",c)
  1145. efxBlock = Instance.new("Part",c)
  1146. efxBlock.BrickColor = BrickColor.new("Really black")
  1147. efxBlock.Material = "Neon"
  1148. efxBlock.FormFactor = "Custom"
  1149. efxBlock.Transparency = .3
  1150.  
  1151.  
  1152. efxBlock.Size = Vector3.new(.0,.0,.0)
  1153. local mesh = Instance.new("SpecialMesh",efxBlock)
  1154. mesh.MeshType = Enum.MeshType.Sphere
  1155. mesh.Scale = Vector3.new(0,0,0)
  1156. light = Instance.new("PointLight",c.Head)
  1157. light.Range = 10
  1158. light.Color = Color3.new(0,200/255,1)
  1159. light.Shadows = false
  1160. local particles = Instance.new("ParticleEmitter",efxBlock)
  1161. particles.Color = ColorSequence.new(Color3.new(0,0,0/0),Color3.new(2/0,5/0,5/255))
  1162. particles.Size = Size
  1163. particles.Name = "Fire"
  1164. particles.Transparency = Transparency
  1165. particles.LockedToPart = true
  1166. particles.VelocityInheritance = .5
  1167. particles.LockedToPart = true
  1168. particles.Rate = 200
  1169. particles.Texture = "rbxassetid://594656663"
  1170. particles.Lifetime = NumberRange.new(1,1)
  1171. particles.RotSpeed = NumberRange.new(100,100)
  1172. particles.Speed = NumberRange.new(7,7)
  1173. script.Parent = efxBlock
  1174. fire = particles
  1175. local offset = Vector3.new(-0.11, .23, -0.5)
  1176. local weld = Instance.new("Weld",c.Head)
  1177. weld.Part0 = c.Head
  1178. weld.Part1 = efxBlock
  1179. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40))
  1180. efxBlock.Parent = c
  1181. music.SoundId = "rbxassetid://316012176"
  1182. music.Looped = true
  1183. music.Volume = 0
  1184. fight = music
  1185. music2.SoundId = "rbxassetid://316014309"
  1186. music2.Looped = true
  1187. music2.Volume = 0
  1188. sans = music2
  1189. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  1190. pointGyro.P = 1e7
  1191. pointGyro.D = 1e3
  1192. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  1193. animator = c.Humanoid:FindFirstChild("Animator")
  1194. if animator then
  1195. animator:Destroy()
  1196. end
  1197. c.Torso.roblox:Destroy()
  1198. for i,v in pairs (c.Head:children()) do
  1199. if v.ClassName == "Sound" then
  1200. v:Destroy()
  1201. end
  1202. end
  1203. for i = 1,#Joints do
  1204. Joints[i].C1 = CFrame.new(Vector3.new())
  1205. end
  1206. human.WalkSpeed = 0
  1207. human.JumpPower = 0
  1208. end
  1209.  
  1210. uinps.InputBegan:connect(function(InputObject)
  1211. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  1212. Debounces.isPassive = not Debounces.isPassive
  1213. end
  1214. end)
  1215.  
  1216. setJointCFrames = function(table)
  1217. for i = 1,#table do
  1218. JointTargets[i] = table[i]
  1219. end
  1220. AnimationCycles = 0
  1221. end
  1222.  
  1223. setLerp = function(speed)
  1224. AnimStat.lerpSpeed = speed
  1225. end
  1226.  
  1227. setTween = function(tween)
  1228. AnimStat.lerpTween = tween
  1229. end
  1230.  
  1231. takeDamage = function(position,damage,distance,platformStand)
  1232. for i,v in pairs (pls:children()) do
  1233. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  1234. local torso = v.Character:FindFirstChild("Torso")
  1235. if torso and (torso.Position - position).magnitude < distance then
  1236. RiseLevel(v.Character.Humanoid,damage)
  1237. v.Character.Humanoid:TakeDamage(damage)
  1238. if platformStand == true then
  1239. v.Character.PlatformStand = platformStand
  1240. end
  1241. end
  1242. end
  1243. end
  1244. end
  1245.  
  1246. --------------------------------------------------------
  1247.  
  1248. prepareCharacter()
  1249.  
  1250. --------------------------------------------------------
  1251. hldng={}Player=p
  1252. function chatfunc(text)
  1253. spawn(function()local function lerp(a,b,t)return a*(1-t)+(b*t)end
  1254. local rs=game:service'RunService'.RenderStepped
  1255. local function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end
  1256. local Character=game:service'Players'.LocalPlayer.Character local RootPart=Character.HumanoidRootPart
  1257. local se=Instance.new("Sound",root)se.Volume=5 se.SoundId="rbxassetid://417445954"
  1258. if Character:FindFirstChild("cht")then Character.cht:Destroy()end
  1259.  
  1260. local b=Instance.new("BillboardGui",Character)b.AlwaysOnTop=true b.Adornee=RootPart b.StudsOffsetWorldSpace=Vector3.new(0,4,0)b.Name="cht"
  1261. local snum=text:len()b.Size=UDim2.new(snum/1.7,0,2,0)
  1262. local texts={}
  1263. for i=1,snum do
  1264. texts[i]=Instance.new("TextButton",b)
  1265. texts[i].Size=UDim2.new(1/snum,0,1,0)texts[i].Name=text:sub(i,i)--texts[i].TextSize=30
  1266. texts[i].Text=text:sub(i,i)texts[i].Position=UDim2.new((i-1)/snum,0,.3,0)
  1267. texts[i].BackgroundTransparency=1 texts[i].TextColor3=Color3.new(1)
  1268. texts[i].TextStrokeTransparency=1 texts[i].Font="Cartoon"texts[i].TextScaled=1 texts[i].TextTransparency=1
  1269. end
  1270. local DoOpt=function(Set,Val,LerpB)for i=1,#texts do if texts[i].Parent and b.Parent then if LerpB~=nil then
  1271. 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
  1272. else texts[i][Set]=Val end end end end
  1273. for i=1,#texts do
  1274. if texts[i].Parent then
  1275. texts[i].TextTransparency=0 texts[i].TextStrokeTransparency=0
  1276. end
  1277. if texts[i].Text~=" "then se.TimePosition=.06 se:Play()end
  1278. sw(3)
  1279. end
  1280. sw(180)
  1281. for i=1,0,-.025 do
  1282. DoOpt("TextTransparency",1-i)--DoOpt("TextStrokeTransparency",1-i)
  1283. sw()
  1284. end
  1285. b:Destroy()
  1286. end)
  1287. end Player.Chatted:connect(function(m)chatfunc(game:service'Chat':FilterStringAsync(m,Player,Player))end)
  1288. mouse.KeyUp:connect(function(k)
  1289. hldng[k]=nil
  1290. end)
  1291.  
  1292. local function doit()
  1293. if DefAble then
  1294. return
  1295. else
  1296. if human.Health~=human.MaxHealth then
  1297. DefAble=false
  1298. human:Destroy()
  1299. human=Instance.new("Humanoid",chara)Instance.new("Model",human).Name="Status"
  1300. human.MaxHealth=1 human.Health=1
  1301. human.HealthChanged:connect(doit)
  1302. root.CFrame=root.CFrame*CFrame.new(0,0,10)
  1303. hldng.r=nil warn"Dodged"
  1304. Tired.n=Tired.n+10
  1305. end
  1306. end
  1307. end
  1308. dodge=human.HealthChanged:connect(doit)
  1309. local sw=function(n)if n then for i=1,n do rs.RenderStepped:wait()end else rs.RenderStepped:wait()end end
  1310. spawn(function()
  1311. local sine = 0
  1312. local idk=Instance.new("ScreenGui",p:FindFirstChildOfClass'PlayerGui')
  1313. local frm=Instance.new("Frame",idk)frm.BorderSizePixel=0
  1314. frm.BackgroundTransparency=.5 frm.Size=UDim2.new(.4,0,.03,0)
  1315. frm.Position=UDim2.new(.3,0,.7,0)
  1316.  
  1317. local t=Instance.new("TextLabel",frm)t.Text="wait"t.BorderSizePixel=0
  1318. t.TextColor3=Color3.new(1,1,1)t.TextStrokeTransparency=0-- t.TextScaled=1
  1319. t.BackgroundTransparency=0 t.TextXAlignment="Left" t.BackgroundColor3=Color3.new(1)
  1320. while wait()do
  1321. t.Size=UDim2.new(Tired.n/Tired.m,0,1,0)
  1322. if Tired.n>=Tired.m then
  1323. Tired.n=Tired.m
  1324. Tired.d=true
  1325. end
  1326. if Tired.d then
  1327. Tired.n=Tired.n-5 DefAble=true hldng.r=nil
  1328. end t.Text=tostring(math.floor(Tired.n*10)/10).."/"..tostring(Tired.m)
  1329. if Tired.n<=0 then Tired.n=0 Tired.d=false end
  1330. if DefAble then human.MaxHealth=1 human.Health=1 human.Name="Humanoid"else
  1331. dodge:disconnect()human.MaxHealth=1 human.Health=1 dodge=human.HealthChanged:connect(doit)
  1332.  
  1333. end
  1334.  
  1335. if hldng.r then DefAble=false else DefAble=1 end
  1336.  
  1337. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  1338. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  1339. setLerp(.1)
  1340. if Debounces.isPassive == true then --walk
  1341. setJointCFrames({
  1342. CFrame.new(Vector3.new(0, -0.901 + math.sin(tick() * 1.5)/45, 0)) * CFAngles(Vector3.new(-22.001, 0, 0));
  1343. 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));
  1344. CFrame.new(Vector3.new(-1.5, -0.1 + math.sin(tick() * 1.5)/15, -0.801)) * CFAngles(Vector3.new(44.999, 0, 0));
  1345. CFrame.new(Vector3.new(1.7, 0.2 + math.sin(tick() * 1.5)/15, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 15));
  1346. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.511, 3.84, 0.489));
  1347. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, -0.001));
  1348. })
  1349. else
  1350. setJointCFrames({
  1351. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1352. 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));
  1353. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  1354. 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));
  1355. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  1356. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  1357. })
  1358. end
  1359. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  1360. sine = sine + math.rad(12) --else jump
  1361. human.WalkSpeed = 25
  1362. setLerp(.15)
  1363. setJointCFrames({
  1364. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  1365. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  1366. 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));
  1367. 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));
  1368. 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));
  1369. 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));
  1370. })
  1371. end
  1372. if Debounces.scalingDamage == true then
  1373. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  1374. end
  1375. end
  1376. end)
  1377. human.Changed:connect(function(prop)
  1378. if prop == "MoveDirection" then
  1379. if human.MoveDirection.magnitude > .02 then
  1380. Debounces.isMoving = true
  1381. else
  1382. Debounces.isMoving = false
  1383. end
  1384. end
  1385. end)
  1386. local dunkedon=false
  1387. mouse.KeyDown:connect(function(k)
  1388. hldng[k]=true
  1389. if not Debounces.isAttacking then
  1390. if k=="c"and not Tired.d and Debounces.isPassive then
  1391. local GrabObj=mouse.Target
  1392. local hum=nil
  1393. if GrabObj then
  1394. if not GrabObj.Anchored then
  1395. if GrabObj.Parent then
  1396. if GrabObj.Parent:FindFirstChild'Humanoid'then
  1397. hum=GrabObj.Parent.Humanoid
  1398. end
  1399. end
  1400. local jet=Instance.new("BodyPosition",GrabObj)
  1401. if not hum then jet.D=2000 jet.P=2000 end
  1402. while hldng.c and not Tired.d do
  1403. jet.MaxForce=Vector3.new(10,10,10)*10000000
  1404. jet.Position=mouse.Target~=nil and mouse.Hit.p or jet.Position
  1405. Tired.n=Tired.n+((not hum or hum.Health==0) and 1 or 2)
  1406. local vel=GrabObj.Velocity.x+GrabObj.Velocity.y+GrabObj.Velocity.z
  1407. if hum and vel>20 then RiseLevel(hum,vel/400)hum.Health=hum.Health-vel/400 end
  1408. sw()
  1409. end
  1410. jet:Destroy()
  1411. else
  1412. warn'The object is anchored!'
  1413. end
  1414. end
  1415. end
  1416. if k=="t"and not Tired.d then -- TELEPORT
  1417. if mouse.Target then Debounces.isAttacking=true
  1418. local pos=mouse.Hit KG:Pause()
  1419. root.Anchored=1 root.CFrame=CFrame.new(9999,9999,109999)
  1420. local jam=Instance.new("ScreenGui",p:FindFirstChildOfClass("PlayerGui"))
  1421. jam.DisplayOrder=12 local j=Instance.new("Frame",jam)j.BackgroundColor3=Color3.new()
  1422. j.BorderSizePixel=0 j.Size=UDim2.new(1,0,1,0)
  1423. wait(1)Debounces.isAttacking=false KG:Resume()
  1424. root.CFrame=pos+Vector3.new(0,3,0)
  1425. jam:Destroy()root.Anchored=false
  1426. end
  1427. Tired.n=Tired.n+50
  1428. end
  1429. if k=="f"and not Tired.d and not dunkedon and Debounces.isPassive then
  1430. dunkedon=true local pos=mouse.Hit.p
  1431. Tired.n=Tired.n+100
  1432. local idk=Instance.new("Part",efcModel)
  1433. idk.Size=Vector3.new(2,80,80)local sp=Instance.new("SpecialMesh",idk)idk.Anchored=1 idk.CanCollide=nil
  1434. sp.Scale=idk.Size*20 idk.Size=Vector3.new()idk.Color=Color3.new(1,.1,.1)sp.MeshType="Cylinder"
  1435. idk.Transparency=.5 idk.CFrame=CFrame.new(pos)*CFrame.Angles(0,0,math.rad(90))
  1436. idk.Material="SmoothPlastic"
  1437. idk.Transparency=.5 sw(20)idk:Destroy()
  1438. spawn(function()for i=1,300 do
  1439. 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)
  1440. spawn(function()
  1441. local p=Instance.new("Part",efcModel)
  1442. 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)
  1443. p.Color=Color3.new(12,0,0)p.Size=Vector3.new(10,1,10)p.CFrame=pos
  1444. local j=Instance.new("BodyVelocity",p)j.MaxForce=Vector3.new(1,1,1)/0 j.Velocity=Vector3.new()p.CanCollide=nil
  1445. local m=Instance.new("SpecialMesh",p)m.MeshId="rbxassetid://465130937"
  1446. m.Scale=Vector3.new(.05,.08,.05)/1.2
  1447. spawn(function()
  1448. for i=0,1,.05 do p.CFrame=p.CFrame+Vector3.new(0,.6,0)sw()end
  1449. sw(10)for i=0,1,.05 do p.Transparency=i sw()end p:Destroy()
  1450. end)
  1451. end)
  1452. sw()
  1453. end
  1454. end)
  1455. wait(5)
  1456.  
  1457. dunkedon=false
  1458. end
  1459. end
  1460. if Debounces.isPassive and k=="g"then
  1461. while hldng.g and not Tired.d do
  1462. sw(10)
  1463. Tired.n=Tired.n+1
  1464. 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)
  1465. spawn(function()
  1466. local p=Instance.new("Part",efcModel)
  1467. 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)
  1468. p.Color=Color3.new(12,0,0)p.Size=Vector3.new(4,4,4)p.CFrame=pos
  1469. local j=Instance.new("BodyVelocity",p)j.MaxForce=Vector3.new(1,1,1)/0 j.Velocity=Vector3.new()p.CanCollide=nil
  1470. local m=Instance.new("SpecialMesh",p)m.MeshId="rbxassetid://465130937"
  1471. m.Scale=Vector3.new(.05,.08,.05)/2.5
  1472. spawn(function()
  1473. for i=0,1,.005 do p.CFrame=pos*CFrame.new(0,0,-i*300)*CFrame.Angles(math.rad(90),0,0)sw()end
  1474. sw(10)for i=0,1,.05 do p.Transparency=i sw()end p:Destroy()
  1475. end)
  1476. end)
  1477. end
  1478. end
  1479.  
  1480. end)
  1481. uinps.InputBegan:connect(function(InputObject)
  1482. 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
  1483. Debounces.isBoosting = true
  1484. Debounces.damageLevel = 10
  1485. Debounces.scalingDamage = true
  1486. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1487. setLerp(.15)
  1488. setJointCFrames({
  1489. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  1490. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  1491. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  1492. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  1493. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  1494. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  1495. })
  1496. local boostSpeed = 400
  1497. local efx = Instance.new("Sound",c.Head)
  1498. efx.SoundId = "rbxassetid://200632875"
  1499. efx.Pitch = math.random(1100,1300)/1000
  1500. efx.Volume = .5
  1501. efx:Play()
  1502. spawn(function()
  1503. wait(5)
  1504. efx:Destroy()
  1505. end)
  1506. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  1507. vel.P = 1e3
  1508. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1509. wait(.15)
  1510. vel.P = 1000
  1511. vel.MaxForce = Vector3.new(3000,0,3000)
  1512. vel.Velocity = Vector3.new()
  1513. wait(.3)
  1514. setLerp(.3)
  1515. setJointCFrames({
  1516. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  1517. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  1518. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  1519. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  1520. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  1521. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  1522. })
  1523. wait(.2)
  1524. vel:Destroy()
  1525. Debounces.damageLevel = 0
  1526. Debounces.scalingDamage = false
  1527. Debounces.isBoosting = false
  1528. end
  1529. end)
  1530.  
  1531. uinps.InputBegan:connect(function(InputObject)
  1532. 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
  1533. Debounces.isBoosting = true
  1534. Debounces.damageLevel = 10
  1535. Debounces.scalingDamage = true
  1536. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1537. setLerp(.15)
  1538. setJointCFrames({
  1539. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  1540. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  1541. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  1542. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  1543. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  1544. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  1545. })
  1546. local boostSpeed = 250
  1547. local efx = Instance.new("Sound",c.Head)
  1548. efx.SoundId = "rbxassetid://200632875"
  1549. efx.Pitch = math.random(1100,1300)/1000
  1550. efx.Volume = .5
  1551. efx:Play()
  1552. spawn(function()
  1553. wait(5)
  1554. efx:Destroy()
  1555. end)
  1556. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  1557. vel.P = 1e3
  1558. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1559. wait(.15)
  1560. vel.P = 1000
  1561. vel.MaxForce = Vector3.new(3000,0,3000)
  1562. vel.Velocity = Vector3.new()
  1563. wait(.3)
  1564. setLerp(.3)
  1565. setJointCFrames({
  1566. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  1567. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1568. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1569. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1570. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1571. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1572. })
  1573. wait(.2)
  1574. vel:Destroy()
  1575. Debounces.damageLevel = 0
  1576. Debounces.scalingDamage = false
  1577. Debounces.isBoosting = false
  1578. end
  1579. end)
  1580.  
  1581. uinps.InputBegan:connect(function(InputObject)
  1582. 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
  1583. Debounces.isBoosting = true
  1584. Debounces.damageLevel = 10
  1585. Debounces.scalingDamage = true
  1586. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1587. setLerp(.15)
  1588. setJointCFrames({
  1589. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  1590. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  1591. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  1592. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  1593. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  1594. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1595. })
  1596. local boostSpeed = 350
  1597. local efx = Instance.new("Sound",c.Head)
  1598. efx.SoundId = "rbxassetid://200632875"
  1599. efx.Pitch = math.random(1100,1300)/1000
  1600. efx.Volume = .5
  1601. efx:Play()
  1602. spawn(function()
  1603. wait(5)
  1604. efx:Destroy()
  1605. end)
  1606. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  1607. vel.P = 1e3
  1608. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1609. wait(.15)
  1610. vel.P = 1000
  1611. vel.MaxForce = Vector3.new(3000,0,3000)
  1612. vel.Velocity = Vector3.new()
  1613. wait(.3)
  1614. setLerp(.3)
  1615. setJointCFrames({
  1616. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  1617. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1618. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1619. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1620. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1621. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1622. })
  1623. wait(.2)
  1624. vel:Destroy()
  1625. Debounces.damageLevel = 0
  1626. Debounces.scalingDamage = false
  1627. Debounces.isBoosting = false
  1628. end
  1629. end)
  1630.  
  1631. uinps.InputBegan:connect(function(InputObject)
  1632. 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
  1633. Debounces.isBoosting = true
  1634. Debounces.damageLevel = 30
  1635. Debounces.scalingDamage = true
  1636. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1637. setLerp(.15)
  1638. setJointCFrames({
  1639. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  1640. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  1641. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  1642. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  1643. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  1644. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1645. })
  1646. local boostSpeed = 400
  1647. local boostSpeed = 400
  1648. local efx = Instance.new("Sound",c.Head)
  1649. efx.SoundId = "rbxassetid://200632875"
  1650. efx.Pitch = math.random(1100,1300)/1000
  1651. efx.Volume = .5
  1652. efx:Play()
  1653. spawn(function()
  1654. wait(5)
  1655. efx:Destroy()
  1656. end)
  1657. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  1658. vel.P = 1e3
  1659. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1660. wait(.15)
  1661. vel.P = 1000
  1662. vel.MaxForce = Vector3.new(3000,0,3000)
  1663. vel.Velocity = Vector3.new()
  1664. wait(.3)
  1665. setLerp(.3)
  1666. setJointCFrames({
  1667. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  1668. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  1669. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  1670. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  1671. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  1672. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  1673. })
  1674. wait(.2)
  1675. vel:Destroy()
  1676. Debounces.damageLevel = 0
  1677. Debounces.scalingDamage = false
  1678. Debounces.isBoosting = false
  1679. end
  1680. end)
  1681.  
  1682. uinps.InputBegan:connect(function(InputObject)
  1683. 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
  1684. local isLooping = true
  1685. uinps.InputEnded:connect(function(InputObject2)
  1686. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1687. isLooping = false
  1688. end
  1689. end)
  1690. while not Tired.d do
  1691. if isLooping == false then
  1692. break
  1693. end
  1694. Debounces.attackNumber = Debounces.attackNumber + 1
  1695. local aimPos = mouse.Hit.p
  1696. local head = Instance.new("Part",c)
  1697. head.Size = Vector3.new(12,.2,12)
  1698. head.CanCollide = false
  1699. head.Anchored = true
  1700. head.Transparency = 1
  1701. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1702. mesh.Scale=Vector3.new(.05,.05,.05)
  1703. local decal = Instance.new("Decal",head)
  1704. decal.Texture = "rbxassetid://441975828"
  1705. Color3.new(100,100,0)
  1706. if Debounces.attackNumber%2 == 1 then
  1707. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1708. else
  1709. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1710. end head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1711. spawn(function()
  1712. local timer = 0
  1713. while rs.RenderStepped:wait() do
  1714. if timer >= 1.55 then
  1715. break
  1716. end
  1717. head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
  1718. timer = timer + 1/30/(Debounces.FPS/60)
  1719. end
  1720. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1721. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1722. local hit, pos = workspace:FindPartOnRay(ray,c)
  1723. local dis = (head.CFrame.p - pos).magnitude
  1724. local rayPart = Instance.new("Part",rayModel)
  1725. rayPart.Material = "Neon"
  1726. rayPart.FormFactor = "Custom"
  1727. rayPart.BrickColor = BrickColor.new"Really red"
  1728. rayPart.Anchored = true
  1729. rayPart.CanCollide = false
  1730. rayPart.Size = Vector3.new(7,7,dis + 400)
  1731. 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)
  1732. rayPart.CFrame = rayCFrame
  1733. head:Destroy()
  1734. end)
  1735. wait()
  1736. local s = Instance.new("Sound",head)
  1737. s.Volume = 1
  1738. s.SoundId = "rbxassetid://332223043"
  1739. s:Play()
  1740. wait(.04)
  1741. Tired.n=Tired.n+2
  1742. end
  1743. end
  1744. end)
  1745.  
  1746. uinps.InputBegan:connect(function(InputObj)
  1747. 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
  1748. Debounces.isAttacking = true
  1749. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1750. local head = Instance.new("Part",c)
  1751. head.Size = Vector3.new(18,.2,18)
  1752. head.CanCollide = false
  1753. head.Anchored = true
  1754. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1755. head.Transparency = 1 head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1756. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1757. mesh.Scale=Vector3.new(.1,.1,.1)
  1758. local decal = Instance.new("Decal",head)
  1759. decal.Texture = "rbxassetid://441975828"
  1760. setLerp(.1)
  1761. setJointCFrames({
  1762. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1763. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1764. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1765. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1766. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1767. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1768. })
  1769. spawn(function()
  1770. local timer = 0
  1771. while rs.RenderStepped:wait() do
  1772. if timer >= 1.55/.8 then
  1773. break
  1774. end
  1775. head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
  1776. timer = timer + 1/30/(Debounces.FPS/60)
  1777. end
  1778. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1779. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1780. local hit, pos = workspace:FindPartOnRay(ray,c)
  1781. local dis = (head.CFrame.p - pos).magnitude
  1782. local rayPart = Instance.new("Part",rayModel)
  1783. rayPart.Material = "Neon"
  1784. rayPart.FormFactor = "Custom"
  1785. rayPart.Name = "Punch"
  1786. rayPart.BrickColor = BrickColor.new"Really red"
  1787. rayPart.Anchored = true
  1788. rayPart.CanCollide = false
  1789. rayPart.Size = Vector3.new(28,28,dis + 400)
  1790. 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)
  1791. rayPart.CFrame = rayCFrame
  1792. head:Destroy()
  1793. end)
  1794. wait()
  1795. local s = Instance.new("Sound",head)
  1796. s.Volume = 1
  1797. s.SoundId = "rbxassetid://332223043"
  1798. s.Pitch = .8
  1799. s:Play()
  1800. wait(.75)
  1801. setLerp(.17)
  1802. setJointCFrames({
  1803. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1804. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1805. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1806. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1807. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1808. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1809. })
  1810. Tired.n=Tired.n+15
  1811. wait(.5)
  1812. Debounces.isAttacking = false
  1813. end
  1814. end)
  1815.  
  1816. reflect = function(d,n)
  1817. local i, n = -1 * d.unit, n.unit
  1818. local dot = n:Dot(i)
  1819. return 2*dot*n - i
  1820. end
  1821.  
  1822. makeReflectionBeam = function(pos,look,isCrit)
  1823. local ray = Ray.new(pos,look)
  1824. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  1825. local e = Instance.new("Part",rayModel)
  1826. e.Anchored = true
  1827. e.CanCollide = false
  1828. e.BrickColor = BrickColor.new("Really red")
  1829. e.Material = "Neon"
  1830. e.FormFactor = "Custom"
  1831. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  1832. if isCrit == true then
  1833. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  1834. e.Name = "Punch"
  1835. end
  1836. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  1837. local e = Instance.new("Sound",c)
  1838. if isCrit == true then
  1839. e.Volume = .5
  1840. else
  1841. e.Volume = .3
  1842. e.Pitch = 1.5
  1843. end
  1844. e.SoundId = "rbxassetid://200632875"
  1845. e:Play()
  1846. spawn(function()
  1847. wait(6)
  1848. e:Destroy()
  1849. end)
  1850. wait(.05)
  1851. if hit ~= nil then
  1852. newDir = reflect(look.unit,norm,isCrit)
  1853. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  1854. end
  1855. end
  1856.  
  1857. uinps.InputBegan:connect(function(InputObject)
  1858. 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
  1859. local isLooping = true
  1860. uinps.InputEnded:connect(function(InputObject2)
  1861. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1862. isLooping = false
  1863. end
  1864. end)
  1865. while not Tired.d do
  1866. if isLooping == false then
  1867. break
  1868. end
  1869. Debounces.attackNumber = Debounces.attackNumber + 1
  1870. local aimPos = mouse.Hit.p
  1871. local head = Instance.new("Part",c)
  1872. head.Size = Vector3.new(12,.2,12)
  1873. head.CanCollide = false
  1874.  
  1875. head.Anchored = true
  1876. head.Transparency=1
  1877. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1878. mesh.Scale=Vector3.new(.05,.05,.05)
  1879. local decal = Instance.new("Decal",head)
  1880. decal.Texture = "rbxassetid://431908407"
  1881.  
  1882.  
  1883. if Debounces.attackNumber%2 == 1 then
  1884. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1885. else
  1886. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1887. end
  1888. head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1889. spawn(function()
  1890. local timer = 0
  1891. while rs.RenderStepped:wait() do
  1892. if timer >= 1.55 then
  1893. break
  1894. end
  1895. head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
  1896. timer = timer + 1/30/(Debounces.FPS/60)
  1897. end
  1898. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1899. head:Destroy()
  1900. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  1901. end)
  1902.  
  1903. wait()
  1904. local s = Instance.new("Sound",head)
  1905. s.Volume = 1
  1906. s.SoundId = "rbxassetid://332223043"
  1907. s.Pitch = 1.02
  1908. s:Play()
  1909. Tired.n=Tired.n+15
  1910. wait(.2)
  1911. end
  1912. end
  1913. end)
  1914.  
  1915. uinps.InputBegan:connect(function(InputObj)
  1916. 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
  1917. Debounces.isAttacking = true
  1918. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1919. local head = Instance.new("Part",c)
  1920. head.Size = Vector3.new(18,.2,18)
  1921. head.CanCollide = false
  1922. head.Anchored = true
  1923. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1924. head.Transparency = 1
  1925. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1926. mesh.Scale=Vector3.new(.1,.1,.1)
  1927. local decal = Instance.new("Decal",head)
  1928. decal.Texture = "rbxassetid://441975828"
  1929. head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1930. setLerp(.1)
  1931. setJointCFrames({
  1932. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1933. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1934. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1935. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1936. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1937. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1938. })
  1939. spawn(function()
  1940. local timer = 0
  1941. while rs.RenderStepped:wait() do
  1942. if timer >= 1.55/.8 then
  1943. break
  1944. end
  1945. head.CFrame = head.CFrame --* CFrame.new(0,0,-timer/10)
  1946. timer = timer + 1/30/(Debounces.FPS/60)
  1947. end
  1948. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1949. head:Destroy()
  1950. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  1951. end)
  1952. wait()
  1953. local s = Instance.new("Sound",head)
  1954. s.Volume = 2
  1955. s.SoundId = "rbxassetid://332223043"
  1956. s.Pitch = .8
  1957. s:Play()
  1958. wait(.75)
  1959. setLerp(.17)
  1960. setJointCFrames({
  1961. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1962. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1963. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1964. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1965. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1966. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1967. })
  1968. Tired.n=Tired.n+30
  1969. wait(.5)
  1970. Debounces.isAttacking = false
  1971. end
  1972. end)
  1973.  
  1974. uinps.InputBegan:connect(function(InputObj)
  1975. if InputObj.KeyCode == Enum.KeyCode.Slash then
  1976. local finishEvent = nil
  1977. Debounces.isTyping = true
  1978. finishEvent = uinps.InputBegan:connect(function(InputObj)
  1979. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  1980. Debounces.isTyping = false
  1981. finishEvent:disconnect()
  1982. end
  1983. end)
  1984. end
  1985. end)
  1986.  
  1987. uinps.InputBegan:connect(function(InputObj)
  1988. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1989. Debounces.isSprinting = true
  1990. end
  1991. end)
  1992.  
  1993. uinps.InputEnded:connect(function(InputObj)
  1994. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1995. Debounces.isSprinting = false
  1996. end
  1997. end)
  1998. uinps.InputBegan:connect(function(InputObj)
  1999.  
  2000. end)
  2001.  
  2002. rs.RenderStepped:connect(function()
  2003. Debounces.FPS = 1/rs.RenderStepped:wait()
  2004. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  2005. if Debounces.isPassive == false then
  2006. fire.Enabled = false
  2007. light.Range = 0
  2008. fight:Pause()
  2009. sans:Resume()
  2010. efxBlock.Transparency = 1
  2011. else
  2012. fire.Enabled = true
  2013. light.Range = 10
  2014. fight:Resume()
  2015. sans:Pause()
  2016. efxBlock.Transparency = 0
  2017. end local tD=3
  2018. for i,v in pairs (rayModel:children()) do
  2019. if v.Transparency >= 1 then
  2020. v:Destroy()
  2021. else
  2022. v.CanCollide = true
  2023. local parts = v:GetTouchingParts()
  2024. v.CanCollide = false
  2025. for i = 1,#parts do
  2026. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  2027. RiseLevel(parts[i].Parent.Humanoid,.5/(Debounces.FPS/60))parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  2028. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  2029. RiseLevel(parts[i].Parent.Humanoid,3.1/(Debounces.FPS/60))parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  2030. end
  2031. end
  2032. 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)
  2033. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  2034. end
  2035. end
  2036. for i = 1,#Joints do
  2037. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  2038. end
  2039. local sineval = math.sin(tick() * 2) * 3
  2040. fire.Acceleration = Vector3.new(sineval,1,sineval)
  2041. light.Brightness = math.sin(math.cos(tick() * 2) * 1.5)
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement