Advertisement
sawgamer1

Untitled

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