Advertisement
pasterultimate22

W.D Gaster *nerfed due to skids*

Aug 7th, 2018
485
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.04 KB | None | 0 0
  1.  
  2. --- note dreamer is better then you
  3. --ahahahahahahahahahs
  4. --[[
  5. req list
  6.  
  7. heart control (the force)
  8.  
  9. teleport
  10.  
  11. bone zone
  12.  
  13. throw bones
  14. --]]
  15.  
  16. local Level=999999999
  17. local function RiseLevel(hum,dmg)
  18. if tonumber(Level)then
  19. if hum.Health>0 and hum.Health-dmg<=0 then Level=Level+1
  20. local s=Instance.new("Sound")end--s. end
  21. else warn'String is not able to level up , or having issure to level.'end
  22. end
  23.  
  24. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  25. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  26. local C3 = {tRGB= function(c3) return c3.r*255,c3.g*255,c3.b*255 end,N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  27. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  28. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  29. local R3 = {N=Region3.new}
  30. local De = S.Debris
  31. local WS = workspace
  32. local Lght = S.Lighting
  33. local RepS = S.ReplicatedStorage
  34. local IN = Instance.new
  35. local Plrs = S.Players
  36. local Plr = Plrs.LocalPlayer
  37. local Char = Plr.Character
  38. local Hum = Char:FindFirstChildOfClass'Humanoid'
  39. local RArm = Char["Right Arm"]
  40. local LArm = Char["Left Arm"]
  41. local RLeg = Char["Right Leg"]
  42. local LLeg = Char["Left Leg"]
  43. local Root = Char:FindFirstChild'HumanoidRootPart'
  44. local Torso = Char.Torso
  45. local Head = Char.Head
  46. local NeutralAnims = true
  47. local Attack = false
  48. local Debounces = {Debounces={}}
  49. local Mouse = Plr:GetMouse()
  50. local Hit = {}
  51. local Sine = 0
  52. local Change = 1
  53. local BloodPuddles = {}
  54. local Glitching = false
  55. local Target;
  56. local Cam = workspace.CurrentCamera
  57. local Effects = IN("Folder",Char)
  58. Effects.Name = "Effects"
  59. local Kills = 0;
  60. local PlrGui = Plr:WaitForChild'PlayerGui'
  61. local Tired={n=0,m=10000,d=false}local DefAble=true
  62. local p = game:service'Players'.LocalPlayer
  63. local char = p.Character
  64. local mouse = p:GetMouse()
  65. local larm = char["Left Arm"]
  66. local rarm = char["Right Arm"]
  67. local lleg = char["Left Leg"]
  68. local rleg = char["Right Leg"]
  69. local hed = char.Head
  70. local Torso = char.Torso
  71. local hum = char.Humanoid
  72. local cam = workspace.CurrentCamera
  73. local root = char.HumanoidRootPart
  74. local deb = false
  75. local shot = 0
  76. local potential = false
  77. local debris=game:service"Debris"
  78. local l = game:GetService("Lighting")
  79. local rs = game:GetService("RunService").RenderStepped
  80. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  81. math.randomseed(os.time())
  82. for i,v in pairs(char:children()) do
  83. if v:IsA("Accessory") then
  84. v:Destroy()
  85. end
  86. end
  87. for i,v in pairs (hed:GetChildren()) do
  88. if v:IsA("Sound") then
  89. v:Destroy()
  90. end
  91. end
  92. music = Instance.new("Sound",c)
  93. music2 = Instance.new("Sound",c)
  94. local pl = game:service'Players'.LocalPlayer
  95. local chara = pl.Character
  96. local hum = chara:FindFirstChildOfClass("Humanoid")
  97. hum.MaxHealth = math.huge
  98. hum.Health = math.huge
  99. maincol = "White"
  100. increment = 20
  101. if 1 then
  102. local MovesGui=Instance.new("ScreenGui",p:FindFirstChildOfClass("PlayerGui"))
  103. local Frm=Instance.new("Frame",MovesGui)Frm.BackgroundColor3=Color3.new()Frm.BorderSizePixel=0
  104. Frm.BackgroundTransparency=.5 Frm.Size=UDim2.new(.3,0,.5,0)local Show=true Frm.Position=UDim2.new(.7,0,.5,0)
  105. local idk=Instance.new("TextButton",Frm)idk.Size=UDim2.new(.5,0,.1,0)idk.Position=UDim2.new(-.5,0,.8,0)
  106. idk.Text="Hide"idk.TextStrokeTransparency=0 idk.BackgroundTransparency=.5 idk.BackgroundColor3=Color3.new()
  107. idk.BorderSizePixel=0 idk.TextColor3=Color3.new(1,1,1)
  108. idk.MouseButton1Click:connect(function()Show=not Show idk.Text=Show and "Hide"or"Show"end)
  109. local normal=Instance.new("TextLabel",Frm)normal.Size=UDim2.new(1,0,1,0)normal.TextStrokeTransparency=0
  110. normal.BackgroundTransparency=1 normal.TextColor3=Color3.new(1,1,1)
  111. normal.TextXAlignment="Left"normal.TextYAlignment="Top"
  112. normal.Text=[[* Able to hold
  113. ! It changes function when sprint
  114. ----------------------------------
  115. K: Passive
  116. !*Q :Gaster Blaster (quick)
  117. ! E :Gaster Blaster (high damage)
  118. T :Teleport
  119. F :Bone Zone
  120. *G :Bone Throw
  121. *C :Heart Control
  122. Shift : Sprint
  123.  
  124. Void is comming
  125. ]]
  126. spawn(function()
  127. while game:service'RunService'.RenderStepped:wait()do
  128. Frm.Position=Frm.Position:lerp(UDim2.new(not Show and 1 or .7,0,.5,0),.1)
  129. end end)
  130. end
  131. --------------------------------------------------------
  132.  
  133. function Debounces:New(name,cooldown)
  134. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  135. setmetatable(aaaaa,{__index = Debounces})
  136. Debounces.Debounces[name] = aaaaa
  137. return aaaaa
  138. end
  139. function Debounces:Use(overrideUsable)
  140. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  141. if(self.Usable or overrideUsable)then
  142. self.Usable = false
  143. self.CoolingDown = true
  144. local LastUse = time()
  145. self.LastUse = LastUse
  146. delay(self.Cooldown or 2,function()
  147. if(self.LastUse == LastUse)then
  148. self.CoolingDown = false
  149. self.Usable = true
  150. end
  151. end)
  152. end
  153. end
  154. function Debounces:Get(name)
  155. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  156. for i,v in next, Debounces.Debounces do
  157. if(i == name)then
  158. return v;
  159. end
  160. end
  161. end
  162. function Debounces:GetProgressPercentage()
  163. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  164. if(self.CoolingDown and not self.Usable)then
  165. return math.max(
  166. math.floor(
  167. (
  168. (time()-self.LastUse)/self.Cooldown or 2
  169. )*100
  170. )
  171. )
  172. else
  173. return 100
  174. end
  175. end
  176.  
  177. local ArtificialHB = IN("BindableEvent", script)
  178. ArtificialHB.Name = "Heartbeat"
  179.  
  180. local baseSound = IN("Sound")
  181. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  182. local Sound = baseSound:Clone()
  183. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  184. Sound.Pitch = pitch or 1
  185. Sound.Volume = volume or 1
  186. Sound.Looped = looped or false
  187. if(autoPlay)then
  188. coroutine.wrap(function()
  189. repeat wait() until Sound.IsLoaded
  190. Sound.Playing = autoPlay or false
  191. end)()
  192. end
  193. if(not looped and effect)then
  194. Sound.Stopped:connect(function()
  195. Sound.Volume = 0
  196. Sound:destroy()
  197. end)
  198. elseif(effect)then
  199. warn("Sound can't be looped and a sound effect!")
  200. end
  201. Sound.Parent =parent or Torso
  202. return Sound
  203. end
  204. function Part(parent,color,material,size,cframe,anchored,cancollide)
  205. local part = IN("Part")
  206. part.Parent = parent or Char
  207. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  208. part.Material = material or Enum.Material.SmoothPlastic
  209. part.TopSurface,part.BottomSurface=10,10
  210. part.Size = size or V3.N(1,1,1)
  211. part.CFrame = cframe or CF.N(0,0,0)
  212. part.CanCollide = cancollide or false
  213. part.Anchored = anchored or false
  214. return part
  215. end
  216. function Weld(part0,part1,c0,c1)
  217. local weld = IN("Weld")
  218. weld.Parent = part0
  219. weld.Part0 = part0
  220. weld.Part1 = part1
  221. weld.C0 = c0 or CF.N()
  222. weld.C1 = c1 or CF.N()
  223. return weld
  224. end
  225. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  226. local part = IN("SpecialMesh")
  227. part.MeshId = meshid or ""
  228. part.TextureId = textid or ""
  229. part.Scale = scale or V3.N(1,1,1)
  230. part.Offset = offset or V3.N(0,0,0)
  231. part.MeshType = meshtype or Enum.MeshType.Sphere
  232. part.Parent = parent
  233. return part
  234. end
  235. NewInstance = function(instance,parent,properties)
  236. local inst = Instance.new(instance)
  237. inst.Parent = parent
  238. if(properties)then
  239. for i,v in next, properties do
  240. pcall(function() inst[i] = v end)
  241. end
  242. end
  243. return inst;
  244. end
  245. function Clone(instance,parent,properties)
  246. local inst = instance:Clone()
  247. inst.Parent = parent
  248. if(properties)then
  249. for i,v in next, properties do
  250. pcall(function() inst[i] = v end)
  251. end
  252. end
  253. return inst;
  254. end
  255. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  256. local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  257. local Sound = IN("Sound")
  258. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  259. Sound.Pitch = pitch or 1
  260. Sound.Volume = volume or 1
  261. Sound.Looped = looped or false
  262. if(autoPlay)then
  263. coroutine.wrap(function()
  264. repeat wait() until Sound.IsLoaded
  265. Sound.Playing = autoPlay or false
  266. end)()
  267. end
  268. if(not looped and effect)then
  269. Sound.Stopped:connect(function()
  270. Sound.Volume = 0
  271. soundPart:destroy()
  272. end)
  273. elseif(effect)then
  274. warn("Sound can't be looped and a sound effect!")
  275. end
  276. Sound.Parent = soundPart
  277. return Sound
  278. end
  279.  
  280. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  281. function CamShake(who,times,intense,origin)
  282. coroutine.wrap(function()
  283. if(script:FindFirstChild'CamShake')then
  284. local cam = script.CamShake:Clone()
  285. cam:WaitForChild'intensity'.Value = intense
  286. cam:WaitForChild'times'.Value = times
  287.  
  288. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  289. cam.Parent = who
  290. wait()
  291. cam.Disabled = false
  292. elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then
  293. local intensity = intense
  294. if(Hum and not Hum:FindFirstChild'CamShaking')then
  295. local cam = workspace.CurrentCamera
  296. local oCO = Hum.CameraOffset
  297. local cs = Instance.new("BoolValue",Hum)
  298. cs.Name = "CamShaking"
  299. for i = 1, times do
  300. local camDistFromOrigin
  301. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  302. camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin.Position).magnitude )/25
  303. elseif(typeof(origin) == 'Vector3')then
  304. camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin).magnitude )/25
  305. end
  306. if(camDistFromOrigin)then
  307. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  308. end
  309. if(Hum)then
  310. Hum.CameraOffset = Vector3.new(math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200)
  311. end
  312. swait()
  313. end
  314. if(Hum)then
  315. Hum.CameraOffset = oCO
  316. end
  317. cs:destroy()
  318. end
  319. end
  320. end)()
  321. end
  322.  
  323.  
  324. local gui = NewInstance("ScreenGui",PlrGui,{})
  325. local txt = NewInstance("TextLabel",gui,{TextStrokeTransparency=.3,TextStrokeColor3=C3.RGB(0,0,0),Font=Enum.Font.Antique,BackgroundTransparency=1,Size=UDim2.new(.48,0,.1,0),Position=UDim2.new(.279,0,.842,0),Text='GASTER',TextColor3=C3.RGB(255,255,255),TextScaled=true,TextWrapped=true,})
  326. local ktxt = NewInstance("TextLabel",gui,{TextStrokeTransparency=.3,TextStrokeColor3=C3.RGB(0,0,0),Font=Enum.Font.Antique,BackgroundTransparency=1,Size=UDim2.new(.48,0,.1,0),Position=UDim2.new(.279,0,.742,0),Text='W.D.',TextColor3=C3.RGB(255,255,255),TextScaled=true,TextWrapped=true,})
  327.  
  328. function CastRay(startPos,endPos,range,ignoreList)
  329. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  330. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  331. return part,pos,norm,(pos and (startPos-pos).magnitude)
  332. end
  333.  
  334. function getRegion(point,range,ignore)
  335. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  336. end
  337.  
  338. function clerp(startCF,endCF,alpha)
  339. return startCF:lerp(endCF, alpha)
  340. end
  341.  
  342. function GetTorso(char)
  343. return char and (char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart')
  344. end
  345.  
  346. function swait(num)
  347. if num == 0 or num == nil then
  348. ArtificialHB.Event:wait()
  349. else
  350. for i = 0, num do
  351. ArtificialHB.Event:wait()
  352. end
  353. end
  354. end
  355.  
  356. coroutine.wrap(function()
  357. while true do
  358. if(M.RNG(1,350) == 1 and not Glitching)then
  359. for i = 1, M.RNG(100,300)/100 do
  360. local TP = mus.TimePosition
  361. Glitching = true
  362. swait(M.RNG(15,30))
  363. Glitching = false
  364. mus.TimePosition = TP
  365. end
  366. end
  367. swait()
  368. end
  369. end)()
  370.  
  371. local Texts = {"INSANITY","BURN","DIE","CRY","VOODOO","NO STRINGS ATTACHED"}
  372. coroutine.wrap(function()
  373. while true do
  374. if(M.RNG(1,65) >= (Glitching and 5 or 40))then
  375. local frame = NewInstance("Frame",gui,{Size=UDim2.new(.26,0,.07,0),BackgroundTransparency=1,Position=UDim2.new(M.RNG(0,100)/100,0,M.RNG(0,100)/100,0)})
  376. local fat = Texts[M.RNG(1,#Texts)]
  377. local toxt = "";
  378. for i = 1, #fat do
  379. if(M.RNG(1,2) == 1)then
  380. toxt = toxt..fat:sub(i,i):lower()
  381. else
  382. toxt = toxt..fat:sub(i,i)
  383. end
  384. end
  385. local rot = M.RNG(-15,15)
  386. local txt = NewInstance('TextLabel',frame,{Rotation=rot,TextTransparency=1,Text=toxt,TextColor3=C3.N(M.RNG(50,100)/100,0,0),FontSize=M.RNG(8,14),Font=Enum.Font.Antique})
  387. coroutine.wrap(function()
  388. for i = 1, 30 do
  389. swait()
  390. txt.Rotation = rot+M.RNG(-15,15)
  391. txt.TextTransparency = txt.TextTransparency - 1/30
  392. end
  393. for i = 1, 30 do
  394. swait()
  395. txt.Rotation = rot+M.RNG(-15,15)
  396. txt.TextTransparency = txt.TextTransparency + 1/30
  397. end
  398. txt:destroy()
  399. end)()
  400. end
  401. wait()
  402. end
  403. end) ()
  404. --------------------------------------------------------
  405. hed.face.Texture = "rbxassetid://382064532"
  406. chara:WaitForChild"Body Colors"
  407. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  408. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  409. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  410. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  411. char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
  412. char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
  413. ---------------------------------------
  414. ypcall(function()
  415. shirt = Instance.new("Shirt", char)
  416. shirt.Name = "Shirt"
  417. pants = Instance.new("Pants", char)
  418. pants.Name = "Pants"
  419. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=415270465"
  420. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=380670039"
  421. end)
  422. --------------------------------------------------------
  423.  
  424. mus = Instance.new("Sound", game.Players.LocalPlayer.Character)
  425. mus.Volume = 3
  426. mus.SoundId = "rbxassetid://632244280"
  427. mus.Looped = true
  428.  
  429. intro = Instance.new("Sound", game.Players.LocalPlayer.Character)
  430. intro.Volume = 3
  431. intro.SoundId = "rbxassetid://366168126"
  432. intro.Looped = true
  433. intro:Play()
  434.  
  435. --------------------------------------------------------
  436. CV="Eggplant"
  437. p = game.Players.LocalPlayer
  438. char = p.Character
  439. local txt = Instance.new("BillboardGui", char)
  440. txt.Adornee = char .Head
  441. txt.Name = "_status"
  442. txt.Size = UDim2.new(2, 0, 0.5, 0)
  443. txt.StudsOffset = Vector3.new(-9, 8, 0)
  444. local text = Instance.new("TextLabel", txt)
  445. text.Size = UDim2.new(10, 0, 7, 0)
  446. text.FontSize = "Size24"
  447. text.TextScaled = true
  448. text.TextTransparency = 0
  449. text.BackgroundTransparency = 1
  450. text.TextTransparency = 0
  451. text.TextStrokeTransparency = 0
  452. text.Font = "Arcade"
  453. text.TextStrokeColor3 = Color3.new(255,255,255)
  454.  
  455. v=Instance.new("Part")
  456. v.Name = "ColorBrick"
  457. v.Parent=p.Character
  458. v.FormFactor="Symmetric"
  459. v.Anchored=true
  460. v.CanCollide=false
  461. v.BottomSurface="Smooth"
  462. v.TopSurface="Smooth"
  463. v.Size=Vector3.new(10,5,3)
  464. v.Transparency=1
  465. v.CFrame=char.Torso.CFrame
  466. v.BrickColor=BrickColor.new(CV)
  467. v.Transparency=1
  468. text.TextColor3 = Color3.new(0,0,0)
  469. v.Shape="Block"
  470. wait()
  471. text.Text = "DARK..."
  472. wait(2)
  473. text.Text = "DARKER..."
  474. wait(2)
  475. text.Text = "YET DARKER..."
  476. wait(2)
  477. text.Text = "THE DARKNESS KEEPS GROWING"
  478. wait(4)
  479. text.Text = "THE SHADOWS CUTTING DEEPER"
  480. wait(4)
  481. text.Text = "PHOTON READINGS NEGATIVE"
  482. wait(4)
  483. text.Text = "THIS NEXT EXPERIMENT"
  484. wait(3)
  485. text.Text = "SEEMS"
  486. wait(3)
  487. text.Text = "VERY..."
  488. wait(3)
  489. text.Text = "VERY"
  490. wait(3)
  491. text.Text = "INTERESTING"
  492. wait(5)
  493. text.Text = "..."
  494. wait(5)
  495. text.Text = "WHAT DO YOU TWO THINK?";
  496. wait(3)
  497. intro:Stop()
  498. mus:Play()
  499. text.TextColor3 = Color3.new(0,0,0)
  500. spawn(function()while wait()do text.Text = "Gaster LV"..tostring(Level)end end)
  501. hed.face.Texture = "rbxassetid://382064532"
  502. --------------------------------------------------------
  503. pls = game:GetService'Players'
  504. rs = game:GetService'RunService'
  505. uinps = game:GetService'UserInputService'
  506. lp = pls.LocalPlayer
  507. mouse = lp:GetMouse()
  508. c = lp.Character
  509. human = c.Humanoid
  510. human.MaxHealth = 1/0
  511. wait()
  512. human.Health = 0/0
  513. c.Health:Destroy()
  514. --------------------------------------------------------
  515.  
  516. --------------------------------------------------------
  517.  
  518. Debounces = {
  519. AnimationCycles = 0;
  520. FPS = 0;
  521. scalingDamage = false;
  522. damageLevel = 0;
  523. attackNumber = 0;
  524. isAttacking = false;
  525. isMoving = false;
  526. isSprinting = false;
  527. isBoosting = false;
  528. isPassive = false;
  529. isTyping = false;
  530. }
  531.  
  532. --------------------------------------------------------
  533.  
  534. numLerp = function(start, goal, alpha)
  535. return(((goal - start) * alpha) + start)
  536. end
  537.  
  538. CFrameZero = function()
  539. return CFrame.new(Vector3.new())
  540. end
  541.  
  542. rad = function(value)
  543. return math.rad(value)
  544. end
  545.  
  546. CFAngles = function(Vector)
  547. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  548. end
  549.  
  550. --------------------------------------------------------
  551.  
  552. AnimStat = {
  553. lerpSpeed = .2;
  554. lerpSpeed2 = .35;
  555. lerpTween = 0;
  556. }
  557.  
  558. Joints = {
  559. c.HumanoidRootPart.RootJoint;
  560. c.Torso.Neck;
  561. c.Torso['Left Shoulder'];
  562. c.Torso['Right Shoulder'];
  563. c.Torso['Left Hip'];
  564. c.Torso['Right Hip'];
  565. }
  566.  
  567. JointTargets = {
  568. CFrameZero();
  569. CFrameZero();
  570. CFrameZero();
  571. CFrameZero();
  572. CFrameZero();
  573. CFrameZero();
  574. }
  575.  
  576. --------------------------------------------------------
  577.  
  578. BodyColors = {
  579. HeadColor = BrickColor.new("Institutional white");
  580. LeftArmColor = BrickColor.new("Institutional white");
  581. RightArmColor = BrickColor.new("Institutional white");
  582. LeftLegColor = BrickColor.new("Institutional white");
  583. RightLegColor = BrickColor.new("Institutional white");
  584. TorsoColor = BrickColor.new("Mid gray");
  585. }
  586.  
  587. Customs = {
  588. Face = "http://www.roblox.com/asset/?id=871052201";
  589. Shirt = "http://www.roblox.com/asset/?id=357134155";
  590. Pants = "http://www.roblox.com/asset/?id=343128366";
  591. }
  592.  
  593. --------------------------------------------------------
  594.  
  595. prepareCharacter = function()
  596. local transPoints = {
  597. NumberSequenceKeypoint.new(0,.819,.0375),
  598. NumberSequenceKeypoint.new(.207,.594,.0187),
  599. NumberSequenceKeypoint.new(.4,.55,.031),
  600. NumberSequenceKeypoint.new(.57,.619,.05),
  601. NumberSequenceKeypoint.new(.76,.8,.0375),
  602. NumberSequenceKeypoint.new(1,1,0),
  603. }
  604. local sizePoints = {
  605. NumberSequenceKeypoint.new(0,.687,0),
  606. NumberSequenceKeypoint.new(.111,.875,0),
  607. NumberSequenceKeypoint.new(.327,1.19,0),
  608. NumberSequenceKeypoint.new(.646,1.56,0),
  609. NumberSequenceKeypoint.new(.805,1.37,0),
  610. NumberSequenceKeypoint.new(.905,1.06,0),
  611. NumberSequenceKeypoint.new(.968,.938,0),
  612. NumberSequenceKeypoint.new(.984,1.13,0),
  613. NumberSequenceKeypoint.new(1,1.62,0),
  614. }
  615. local Size = NumberSequence.new(sizePoints)
  616. local Transparency = NumberSequence.new(transPoints)
  617. rayModel = Instance.new("Model",c)
  618. efcModel = Instance.new("Model",c)
  619. efxBlock = Instance.new("Part",c)
  620. efxBlock.BrickColor = BrickColor.new("Bright violet")
  621. efxBlock.Material = "Neon"
  622. efxBlock.FormFactor = "Custom"
  623. efxBlock.Transparency = 1
  624. efxBlock.Size = Vector3.new(.1,.1,.1)
  625. local mesh = Instance.new("SpecialMesh",efxBlock)
  626. mesh.MeshType = Enum.MeshType.Sphere
  627. mesh.Scale = Vector3.new(1,1,1)
  628. light = Instance.new("PointLight",c.Head)
  629. light.Range = 10
  630. light.Color = Color3.new(61, 21/255, 133)
  631. light.Shadows = false
  632. local particles = Instance.new("ParticleEmitter",efxBlock)
  633. particles.Color = ColorSequence.new(Color3.fromRGB(48,17,109))
  634. particles.LightEmission = .5
  635. particles.Size = Size
  636. particles.Name = "Fire"
  637. particles.Transparency = Transparency
  638. particles.LockedToPart = true
  639. particles.VelocityInheritance = .5
  640. particles.LockedToPart = true
  641. particles.Rate = 0
  642. particles.Texture = "rbxassetid://170478388"
  643. particles.Lifetime = NumberRange.new(2,2)
  644. particles.RotSpeed = NumberRange.new(100,100)
  645. particles.Speed = NumberRange.new(7,7)
  646. script.Parent = efxBlock
  647. fire = particles
  648. local offset = Vector3.new(-0.11, .23, -0.5)
  649. local weld = Instance.new("Weld",c.Head)
  650. weld.Part0 = c.Head
  651. weld.Part1 = efxBlock
  652. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40))
  653. efxBlock.Parent = c
  654. music.SoundId = "rbxassetid://316012176"
  655. music.Looped = true
  656. music.Volume = 0
  657. fight = music
  658. music2.SoundId = "rbxassetid://316014309"
  659. music2.Looped = true
  660. music2.Volume = 0
  661. sans = music2
  662. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  663. pointGyro.P = 1e7
  664. pointGyro.D = 1e3
  665. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  666. animator = c.Humanoid:FindFirstChild("Animator")
  667. if animator then
  668. animator:Destroy()
  669. end
  670. c.Torso.roblox:Destroy()
  671. for i,v in pairs (c.Head:children()) do
  672. if v.ClassName == "Sound" then
  673. v:Destroy()
  674. end
  675. end
  676. for i = 1,#Joints do
  677. Joints[i].C1 = CFrame.new(Vector3.new())
  678. end
  679. human.WalkSpeed = 0
  680. human.JumpPower = 0
  681. end
  682.  
  683. uinps.InputBegan:connect(function(InputObject)
  684. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  685. Debounces.isPassive = not Debounces.isPassive
  686. end
  687. end)
  688.  
  689. setJointCFrames = function(table)
  690. for i = 1,#table do
  691. JointTargets[i] = table[i]
  692. end
  693. AnimationCycles = 0
  694. end
  695.  
  696. setLerp = function(speed)
  697. AnimStat.lerpSpeed = speed
  698. end
  699.  
  700. setTween = function(tween)
  701. AnimStat.lerpTween = tween
  702. end
  703.  
  704. takeDamage = function(position,damage,distance,platformStand)
  705. for i,v in pairs (pls:children()) do
  706. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  707. local torso = v.Character:FindFirstChild("Torso")
  708. if torso and (torso.Position - position).magnitude < distance then
  709. RiseLevel(v.Character.Humanoid,damage)
  710. v.Character.Humanoid:TakeDamage(damage)
  711. if platformStand == true then
  712. v.Character.PlatformStand = platformStand
  713. end
  714. end
  715. end
  716. end
  717. end
  718.  
  719. --------------------------------------------------------
  720.  
  721. prepareCharacter()
  722.  
  723. --------------------------------------------------------
  724. hldng={}Player=p
  725. function chatfunc(text)
  726. spawn(function()local function lerp(a,b,t)return a*(1-t)+(b*t)end
  727. local rs=game:service'RunService'.RenderStepped
  728. local function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end
  729. local Character=game:service'Players'.LocalPlayer.Character local RootPart=Character.HumanoidRootPart
  730. local se=Instance.new("Sound",root)se.Volume=5 se.SoundId="rbxassetid://417445954"
  731. if Character:FindFirstChild("cht")then Character.cht:Destroy()end
  732. local b=Instance.new("BillboardGui",Character)b.AlwaysOnTop=true b.Adornee=RootPart b.StudsOffsetWorldSpace=Vector3.new(0,4,0)b.Name="cht"
  733. local snum=text:len()b.Size=UDim2.new(snum/1.7,0,2,0)
  734. local texts={}
  735. for i=1,snum do
  736. texts[i]=Instance.new("TextButton",b)
  737. texts[i].Size=UDim2.new(1/snum,0,1,0)texts[i].Name=text:sub(i,i)--texts[i].TextSize=30
  738. texts[i].Text=text:sub(i,i)texts[i].Position=UDim2.new((i-1)/snum,0,.3,0)
  739. texts[i].BackgroundTransparency=1 texts[i].TextColor3=Color3.new(1)
  740. texts[i].TextStrokeTransparency=1 texts[i].Font="Cartoon"texts[i].TextScaled=1 texts[i].TextTransparency=1
  741. end
  742. local DoOpt=function(Set,Val,LerpB)for i=1,#texts do if texts[i].Parent and b.Parent then if LerpB~=nil then
  743. 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
  744. else texts[i][Set]=Val end end end end
  745. for i=1,#texts do
  746. if texts[i].Parent then
  747. texts[i].TextTransparency=0 texts[i].TextStrokeTransparency=0
  748. end
  749. if texts[i].Text~=" "then se.TimePosition=.06 se:Play()end
  750. sw(3)
  751. end
  752. sw(180)
  753. for i=1,0,-.025 do
  754. DoOpt("TextTransparency",1-i)--DoOpt("TextStrokeTransparency",1-i)
  755. sw()
  756. end
  757. b:Destroy()
  758. end)
  759. end Player.Chatted:connect(function(m)chatfunc(game:service'Chat':FilterStringAsync(m,Player,Player))end)
  760. mouse.KeyUp:connect(function(k)
  761. hldng[k]=nil
  762. end)
  763.  
  764. local function doit()
  765. if DefAble then
  766. return
  767. else
  768. if human.Health~=human.MaxHealth then
  769. DefAble=false
  770. human:Destroy()
  771. human=Instance.new("Humanoid",chara)Instance.new("Model",human).Name="Status"
  772. human.MaxHealth=1 human.Health=1
  773. human.HealthChanged:connect(doit)
  774. root.CFrame=root.CFrame*CFrame.new(0,0,10)
  775. hldng.r=nil warn"Dodged"
  776. Tired.n=Tired.n+10
  777. end
  778. end
  779. end
  780. dodge=human.HealthChanged:connect(doit)
  781. local sw=function(n)if n then for i=1,n do rs.RenderStepped:wait()end else rs.RenderStepped:wait()end end
  782. spawn(function()
  783. local sine = 0
  784. local idk=Instance.new("ScreenGui",p:FindFirstChildOfClass'PlayerGui')
  785. local frm=Instance.new("Frame",idk)frm.BorderSizePixel=0
  786. frm.BackgroundTransparency=.5 frm.Size=UDim2.new(.4,0,.03,0)
  787. frm.Position=UDim2.new(.3,0,.7,0)
  788.  
  789. local t=Instance.new("TextLabel",frm)t.Text="wait"t.BorderSizePixel=0
  790. t.TextColor3=Color3.new(1,1,1)t.TextStrokeTransparency=0-- t.TextScaled=1
  791. t.BackgroundTransparency=0 t.TextXAlignment="Left" t.BackgroundColor3=Color3.new(1)
  792. while wait()do
  793. t.Size=UDim2.new(Tired.n/Tired.m,0,1,0)
  794. if Tired.n>=Tired.m then
  795. Tired.n=Tired.m
  796. Tired.d=true
  797. end
  798. if Tired.d then
  799. Tired.n=Tired.n-5 DefAble=true hldng.r=nil
  800. end t.Text=tostring(math.floor(Tired.n*10)/10).."/"..tostring(Tired.m)
  801. if Tired.n<=0 then Tired.n=0 Tired.d=false end
  802. if DefAble then human.MaxHealth=1 human.Health=1 human.Name="Humanoid"else
  803. dodge:disconnect()human.MaxHealth=1 human.Health=1 dodge=human.HealthChanged:connect(doit)
  804.  
  805. end
  806.  
  807. if hldng.r then DefAble=false else DefAble=1 end
  808.  
  809. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  810. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  811. setLerp(.1)
  812. if Debounces.isPassive == true then --walk
  813. setJointCFrames({
  814. CFrame.new(Vector3.new(0, -0.901 + math.sin(tick() * 1.5)/45, 0)) * CFAngles(Vector3.new(-22.001, 0, 0));
  815. 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));
  816. CFrame.new(Vector3.new(-1.5, -0.1 + math.sin(tick() * 1.5)/15, -0.801)) * CFAngles(Vector3.new(44.999, 0, 0));
  817. CFrame.new(Vector3.new(1.7, 0.2 + math.sin(tick() * 1.5)/15, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 15));
  818. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.511, 3.84, 0.489));
  819. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, -0.001));
  820. })
  821. else
  822. setJointCFrames({
  823. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  824. 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));
  825. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  826. 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));
  827. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  828. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  829. })
  830. end
  831. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  832. sine = sine + math.rad(12) --else jump
  833. human.WalkSpeed = 15
  834. setLerp(.15)
  835. setJointCFrames({
  836. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  837. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  838. 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));
  839. 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));
  840. 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));
  841. 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));
  842. })
  843. end
  844. if Debounces.scalingDamage == true then
  845. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  846. end
  847. end
  848. end)
  849. human.Changed:connect(function(prop)
  850. if prop == "MoveDirection" then
  851. if human.MoveDirection.magnitude > .02 then
  852. Debounces.isMoving = true
  853. else
  854. Debounces.isMoving = false
  855. end
  856. end
  857. end)
  858. local dunkedon=false
  859. mouse.KeyDown:connect(function(k)
  860. hldng[k]=true
  861. if not Debounces.isAttacking then
  862. if k=="c"and not Tired.d and Debounces.isPassive then
  863. local GrabObj=mouse.Target
  864. local hum=nil
  865. if GrabObj then
  866. if not GrabObj.Anchored then
  867. if GrabObj.Parent then
  868. if GrabObj.Parent:FindFirstChild'Humanoid'then
  869. hum=GrabObj.Parent.Humanoid
  870. end
  871. end
  872. local jet=Instance.new("BodyPosition",GrabObj)
  873. if not hum then jet.D=2000 jet.P=2000 end
  874. while hldng.c and not Tired.d do
  875. jet.MaxForce=Vector3.new(10,10,10)*10000000
  876. jet.Position=mouse.Target~=nil and mouse.Hit.p or jet.Position
  877. Tired.n=Tired.n+((not hum or hum.Health==0) and 1 or 2)
  878. local vel=GrabObj.Velocity.x+GrabObj.Velocity.y+GrabObj.Velocity.z
  879. if hum and vel>20 then RiseLevel(hum,vel/400)hum.Health=hum.Health-vel/400 end
  880. sw()
  881. end
  882. jet:Destroy()
  883. else
  884. warn'The object is anchored!'
  885. end
  886. end
  887. end
  888. if k=="f"and not Tired.d and not dunkedon and Debounces.isPassive then
  889. dunkedon=true local pos=mouse.Hit.p
  890. Tired.n=Tired.n+100
  891. local idk=Instance.new("Part",efcModel)
  892. idk.Size=Vector3.new(2,80,80)local sp=Instance.new("SpecialMesh",idk)idk.Anchored=1 idk.CanCollide=nil
  893. sp.Scale=idk.Size*20 idk.Size=Vector3.new()idk.Color=Color3.new(1,.1,.1)sp.MeshType="Cylinder"
  894. idk.Transparency=.5 idk.CFrame=CFrame.new(pos)*CFrame.Angles(0,0,math.rad(90))
  895. idk.Material="SmoothPlastic"
  896. idk.Transparency=.5 sw(20)idk:Destroy()
  897. spawn(function()for i=1,300 do
  898. 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)
  899. spawn(function()
  900. local p=Instance.new("Part",efcModel)
  901. 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)
  902. p.Color=Color3.new(1,1,1)p.Size=Vector3.new(10,1,10)p.CFrame=pos
  903. local j=Instance.new("BodyVelocity",p)j.MaxForce=Vector3.new(1,1,1)/0 j.Velocity=Vector3.new()p.CanCollide=nil
  904. local m=Instance.new("SpecialMesh",p)m.MeshId="rbxassetid://465130937"
  905. m.Scale=Vector3.new(.05,.08,.05)/1.2
  906. spawn(function()
  907. for i=0,1,.05 do p.CFrame=p.CFrame+Vector3.new(0,.6,0)sw()end
  908. sw(10)for i=0,1,.05 do p.Transparency=i sw()end p:Destroy()
  909. end)
  910. end)
  911. sw()
  912. end
  913. end)
  914. wait(5)
  915.  
  916. dunkedon=false
  917. end
  918. end
  919. if Debounces.isPassive and k=="g"then
  920. while hldng.g and not Tired.d do
  921. sw(10)
  922. Tired.n=Tired.n+1
  923. 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)
  924. spawn(function()
  925. local p=Instance.new("Part",efcModel)
  926. 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)
  927. p.Color=Color3.new(1,1,1)p.Size=Vector3.new(4,4,4)p.CFrame=pos
  928. local j=Instance.new("BodyVelocity",p)j.MaxForce=Vector3.new(1,1,1)/0 j.Velocity=Vector3.new()p.CanCollide=nil
  929. local m=Instance.new("SpecialMesh",p)m.MeshId="rbxassetid://465130937"
  930. m.Scale=Vector3.new(.05,.08,.05)/2.5
  931. spawn(function()
  932. for i=0,1,.005 do p.CFrame=pos*CFrame.new(0,0,-i*300)*CFrame.Angles(math.rad(90),0,0)sw()end
  933. sw(10)for i=0,1,.05 do p.Transparency=i sw()end p:Destroy()
  934. end)
  935. end)
  936. end
  937. end
  938.  
  939. end)
  940. uinps.InputBegan:connect(function(InputObject)
  941. 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
  942. Debounces.isBoosting = true
  943. Debounces.damageLevel = 10
  944. Debounces.scalingDamage = true
  945. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  946. setLerp(.15)
  947. setJointCFrames({
  948. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  949. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  950. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  951. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  952. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  953. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  954. })
  955. local boostSpeed = 250
  956. local efx = Instance.new("Sound",c.Head)
  957. efx.SoundId = "rbxassetid://200632875"
  958. efx.Pitch = math.random(1100,1300)/1000
  959. efx.Volume = .5
  960. efx:Play()
  961. spawn(function()
  962. wait(5)
  963. efx:Destroy()
  964. end)
  965. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  966. vel.P = 1e3
  967. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  968. wait(.15)
  969. vel.P = 1000
  970. vel.MaxForce = Vector3.new(3000,0,3000)
  971. vel.Velocity = Vector3.new()
  972. wait(.3)
  973. setLerp(.3)
  974. setJointCFrames({
  975. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  976. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  977. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  978. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  979. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  980. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  981. })
  982. wait(.2)
  983. vel:Destroy()
  984. Debounces.damageLevel = 0
  985. Debounces.scalingDamage = false
  986. Debounces.isBoosting = false
  987. end
  988. end)
  989.  
  990. uinps.InputBegan:connect(function(InputObject)
  991. 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
  992. Debounces.isBoosting = true
  993. Debounces.damageLevel = 10
  994. Debounces.scalingDamage = true
  995. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  996. setLerp(.15)
  997. setJointCFrames({
  998. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  999. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  1000. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  1001. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  1002. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  1003. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  1004. })
  1005. local boostSpeed = 250
  1006. local efx = Instance.new("Sound",c.Head)
  1007. efx.SoundId = "rbxassetid://200632875"
  1008. efx.Pitch = math.random(1100,1300)/1000
  1009. efx.Volume = .5
  1010. efx:Play()
  1011. spawn(function()
  1012. wait(5)
  1013. efx:Destroy()
  1014. end)
  1015. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  1016. vel.P = 1e3
  1017. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1018. wait(.15)
  1019. vel.P = 1000
  1020. vel.MaxForce = Vector3.new(3000,0,3000)
  1021. vel.Velocity = Vector3.new()
  1022. wait(.3)
  1023. setLerp(.3)
  1024. setJointCFrames({
  1025. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  1026. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1027. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1028. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1029. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1030. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1031. })
  1032. wait(.2)
  1033. vel:Destroy()
  1034. Debounces.damageLevel = 0
  1035. Debounces.scalingDamage = false
  1036. Debounces.isBoosting = false
  1037. end
  1038. end)
  1039.  
  1040. uinps.InputBegan:connect(function(InputObject)
  1041. 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
  1042. Debounces.isBoosting = true
  1043. Debounces.damageLevel = 10
  1044. Debounces.scalingDamage = true
  1045. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1046. setLerp(.15)
  1047. setJointCFrames({
  1048. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  1049. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  1050. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  1051. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  1052. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  1053. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1054. })
  1055. local boostSpeed = 250
  1056. local efx = Instance.new("Sound",c.Head)
  1057. efx.SoundId = "rbxassetid://200632875"
  1058. efx.Pitch = math.random(1100,1300)/1000
  1059. efx.Volume = .5
  1060. efx:Play()
  1061. spawn(function()
  1062. wait(5)
  1063. efx:Destroy()
  1064. end)
  1065. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  1066. vel.P = 1e3
  1067. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1068. wait(.15)
  1069. vel.P = 1000
  1070. vel.MaxForce = Vector3.new(3000,0,3000)
  1071. vel.Velocity = Vector3.new()
  1072. wait(.3)
  1073. setLerp(.3)
  1074. setJointCFrames({
  1075. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  1076. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1077. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1078. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1079. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1080. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1081. })
  1082. wait(.2)
  1083. vel:Destroy()
  1084. Debounces.damageLevel = 0
  1085. Debounces.scalingDamage = false
  1086. Debounces.isBoosting = false
  1087. end
  1088. end)
  1089.  
  1090. uinps.InputBegan:connect(function(InputObject)
  1091. 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
  1092. Debounces.isBoosting = true
  1093. Debounces.damageLevel = 10
  1094. Debounces.scalingDamage = true
  1095. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1096. setLerp(.15)
  1097. setJointCFrames({
  1098. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  1099. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  1100. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  1101. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  1102. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  1103. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1104. })
  1105. local boostSpeed = 150
  1106. local boostSpeed = 250
  1107. local efx = Instance.new("Sound",c.Head)
  1108. efx.SoundId = "rbxassetid://200632875"
  1109. efx.Pitch = math.random(1100,1300)/1000
  1110. efx.Volume = .5
  1111. efx:Play()
  1112. spawn(function()
  1113. wait(5)
  1114. efx:Destroy()
  1115. end)
  1116. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  1117. vel.P = 1e3
  1118. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1119. wait(.15)
  1120. vel.P = 1000
  1121. vel.MaxForce = Vector3.new(3000,0,3000)
  1122. vel.Velocity = Vector3.new()
  1123. wait(.3)
  1124. setLerp(.3)
  1125. setJointCFrames({
  1126. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  1127. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  1128. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  1129. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  1130. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  1131. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  1132. })
  1133. wait(.2)
  1134. vel:Destroy()
  1135. Debounces.damageLevel = 0
  1136. Debounces.scalingDamage = false
  1137. Debounces.isBoosting = false
  1138. end
  1139. end)
  1140.  
  1141. uinps.InputBegan:connect(function(InputObject)
  1142. 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
  1143. local isLooping = true
  1144. uinps.InputEnded:connect(function(InputObject2)
  1145. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1146. isLooping = false
  1147. end
  1148. end)
  1149. while not Tired.d do
  1150. if isLooping == false then
  1151. break
  1152. end
  1153. Debounces.attackNumber = Debounces.attackNumber + 1
  1154. local aimPos = mouse.Hit.p
  1155. local head = Instance.new("Part",c)
  1156. head.Size = Vector3.new(12,.2,12)
  1157. head.CanCollide = false
  1158. head.Anchored = true
  1159. head.Transparency = 1
  1160. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1161. mesh.Scale=Vector3.new(.05,.05,.05)
  1162. local decal = Instance.new("Decal",head)
  1163. decal.Texture = "rbxassetid://441975828"
  1164. if Debounces.attackNumber%2 == 1 then
  1165. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1166. else
  1167. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1168. end head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1169. spawn(function()
  1170. local timer = 0
  1171. while rs.RenderStepped:wait() do
  1172. if timer >= 1.55 then
  1173. break
  1174. end
  1175. head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
  1176. timer = timer + 1/30/(Debounces.FPS/60)
  1177. end
  1178. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1179. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1180. local hit, pos = workspace:FindPartOnRay(ray,c)
  1181. local dis = (head.CFrame.p - pos).magnitude
  1182. local rayPart = Instance.new("Part",rayModel)
  1183. rayPart.Material = "Neon"
  1184. rayPart.FormFactor = "Custom"
  1185. rayPart.BrickColor = BrickColor.new"Royal purple"
  1186. rayPart.Anchored = true
  1187. rayPart.CanCollide = false
  1188. rayPart.Size = Vector3.new(7,7,dis + 400)
  1189. 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)
  1190. rayPart.CFrame = rayCFrame
  1191. head:Destroy()
  1192. end)
  1193. wait()
  1194. local s = Instance.new("Sound",head)
  1195. s.Volume = 1
  1196. s.SoundId = "rbxassetid://332223043"
  1197. s:Play()
  1198. wait()
  1199. Tired.n=Tired.n+2
  1200. end
  1201. end
  1202. end)
  1203.  
  1204. uinps.InputBegan:connect(function(InputObj)
  1205. 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
  1206. Debounces.isAttacking = true
  1207. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1208. local head = Instance.new("Part",c)
  1209. head.Size = Vector3.new(18,.2,18)
  1210. head.CanCollide = false
  1211. head.Anchored = true
  1212. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1213. head.Transparency = 1 head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1214. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1215. mesh.Scale=Vector3.new(.1,.1,.1)
  1216. local decal = Instance.new("Decal",head)
  1217. decal.Texture = "rbxassetid://441975828"
  1218. setLerp(.1)
  1219. setJointCFrames({
  1220. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1221. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1222. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1223. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1224. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1225. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1226. })
  1227. spawn(function()
  1228. local timer = 0
  1229. while rs.RenderStepped:wait() do
  1230. if timer >= 1.55/.8 then
  1231. break
  1232. end
  1233. head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
  1234. timer = timer + 1/30/(Debounces.FPS/60)
  1235. end
  1236. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1237. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1238. local hit, pos = workspace:FindPartOnRay(ray,c)
  1239. local dis = (head.CFrame.p - pos).magnitude
  1240. local rayPart = Instance.new("Part",rayModel)
  1241. rayPart.Material = "Neon"
  1242. rayPart.FormFactor = "Custom"
  1243. rayPart.Name = "Punch"
  1244. rayPart.BrickColor = BrickColor.new"Royal purple"
  1245. rayPart.Anchored = true
  1246. rayPart.CanCollide = false
  1247. rayPart.Size = Vector3.new(28,28,dis + 400)
  1248. 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)
  1249. rayPart.CFrame = rayCFrame
  1250. head:Destroy()
  1251. end)
  1252. wait()
  1253. local s = Instance.new("Sound",head)
  1254. s.Volume = 1
  1255. s.SoundId = "rbxassetid://332223043"
  1256. s.Pitch = .8
  1257. s:Play()
  1258. wait()
  1259. setLerp()
  1260. setJointCFrames({
  1261. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1262. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1263. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1264. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1265. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1266. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1267. })
  1268. Tired.n=Tired.n+15
  1269. wait()
  1270. Debounces.isAttacking = false
  1271. end
  1272. end)
  1273.  
  1274. reflect = function(d,n)
  1275. local i, n = -1 * d.unit, n.unit
  1276. local dot = n:Dot(i)
  1277. return 2*dot*n - i
  1278. end
  1279.  
  1280. makeReflectionBeam = function(pos,look,isCrit)
  1281. local ray = Ray.new(pos,look)
  1282. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  1283. local e = Instance.new("Part",rayModel)
  1284. e.Anchored = true
  1285. e.CanCollide = false
  1286. e.BrickColor = BrickColor.new("Bright violet")
  1287. e.Material = "Neon"
  1288. e.FormFactor = "Custom"
  1289. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  1290. if isCrit == true then
  1291. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  1292. e.Name = "Punch"
  1293. end
  1294. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  1295. local e = Instance.new("Sound",c)
  1296. if isCrit == true then
  1297. e.Volume = .5
  1298. else
  1299. e.Volume = .3
  1300. e.Pitch = 1.5
  1301. end
  1302. e.SoundId = "rbxassetid://200632875"
  1303. e:Play()
  1304. spawn(function()
  1305. wait(6)
  1306. e:Destroy()
  1307. end)
  1308. wait(.05)
  1309. if hit ~= nil then
  1310. newDir = reflect(look.unit,norm,isCrit)
  1311. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  1312. end
  1313. end
  1314.  
  1315. uinps.InputBegan:connect(function(InputObject)
  1316. 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
  1317. local isLooping = true
  1318. uinps.InputEnded:connect(function(InputObject2)
  1319. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1320. isLooping = false
  1321. end
  1322. end)
  1323. while not Tired.d do
  1324. if isLooping == false then
  1325. break
  1326. end
  1327. Debounces.attackNumber = Debounces.attackNumber + 1
  1328. local aimPos = mouse.Hit.p
  1329. local head = Instance.new("Part",c)
  1330. head.Size = Vector3.new(12,.2,12)
  1331. head.CanCollide = false
  1332. head.Anchored = true
  1333. head.Transparency=1
  1334. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1335. mesh.Scale=Vector3.new(.05,.05,.05)
  1336. local decal = Instance.new("Decal",head)
  1337. decal.Texture = "rbxassetid://441975828"
  1338.  
  1339. if Debounces.attackNumber%2 == 1 then
  1340. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1341. else
  1342. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1343. end
  1344. head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1345. spawn(function()
  1346. local timer = 0
  1347. while rs.RenderStepped:wait() do
  1348. if timer >= 1.55 then
  1349. break
  1350. end
  1351. head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
  1352. timer = timer + 1/30/(Debounces.FPS/60)
  1353. end
  1354. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1355. head:Destroy()
  1356. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  1357. end)
  1358.  
  1359. wait()
  1360. local s = Instance.new("Sound",head)
  1361. s.Volume = 1
  1362. s.SoundId = "rbxassetid://332223043"
  1363. s.Pitch = 1.02
  1364. s:Play()
  1365. Tired.n=Tired.n+15
  1366. wait(.2)
  1367. end
  1368. end
  1369. end)
  1370.  
  1371. uinps.InputBegan:connect(function(InputObj)
  1372. 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
  1373. Debounces.isAttacking = true
  1374. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1375. local head = Instance.new("Part",c)
  1376. head.Size = Vector3.new(18,.2,18)
  1377. head.CanCollide = false
  1378. head.Anchored = true
  1379. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1380. head.Transparency = 1
  1381. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1382. mesh.Scale=Vector3.new(.1,.1,.1)
  1383. local decal = Instance.new("Decal",head)
  1384. decal.Texture = "rbxassetid://441975828"
  1385. head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1386. setLerp(.1)
  1387. setJointCFrames({
  1388. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1389. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1390. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1391. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1392. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1393. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1394. })
  1395. spawn(function()
  1396. local timer = 0
  1397. while rs.RenderStepped:wait() do
  1398. if timer >= 1.55/.8 then
  1399. break
  1400. end
  1401. head.CFrame = head.CFrame --* CFrame.new(0,0,-timer/10)
  1402. timer = timer + 1/30/(Debounces.FPS/60)
  1403. end
  1404. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1405. head:Destroy()
  1406. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  1407. end)
  1408. wait()
  1409. local s = Instance.new("Sound",head)
  1410. s.Volume = 2
  1411. s.SoundId = "rbxassetid://332223043"
  1412. s.Pitch = .8
  1413. s:Play()
  1414. wait(.75)
  1415. setLerp(.17)
  1416. setJointCFrames({
  1417. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1418. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1419. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1420. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1421. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1422. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1423. })
  1424. Tired.n=Tired.n+30
  1425. wait(.5)
  1426. Debounces.isAttacking = false
  1427. end
  1428. end)
  1429.  
  1430. uinps.InputBegan:connect(function(InputObj)
  1431. if InputObj.KeyCode == Enum.KeyCode.Slash then
  1432. local finishEvent = nil
  1433. Debounces.isTyping = true
  1434. finishEvent = uinps.InputBegan:connect(function(InputObj)
  1435. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  1436. Debounces.isTyping = false
  1437. finishEvent:disconnect()
  1438. end
  1439. end)
  1440. end
  1441. end)
  1442.  
  1443. uinps.InputBegan:connect(function(InputObj)
  1444. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1445. Debounces.isSprinting = true
  1446. end
  1447. end)
  1448.  
  1449. uinps.InputEnded:connect(function(InputObj)
  1450. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1451. Debounces.isSprinting = false
  1452. end
  1453. end)
  1454. uinps.InputBegan:connect(function(InputObj)
  1455.  
  1456. end)
  1457.  
  1458. rs.RenderStepped:connect(function()
  1459. Debounces.FPS = 1/rs.RenderStepped:wait()
  1460. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  1461. if Debounces.isPassive == false then
  1462. fire.Enabled = false
  1463. light.Range = 0
  1464. fight:Pause()
  1465. sans:Resume()
  1466. efxBlock.Transparency = 1
  1467. else
  1468. fire.Enabled = true
  1469. light.Range = 10
  1470. fight:Resume()
  1471. sans:Pause()
  1472. efxBlock.Transparency = 0
  1473. end local tD=3
  1474. for i,v in pairs (rayModel:children()) do
  1475. if v.Transparency >= 1 then
  1476. v:Destroy()
  1477. else
  1478. v.CanCollide = true
  1479. local parts = v:GetTouchingParts()
  1480. v.CanCollide = false
  1481. for i = 1,#parts do
  1482. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  1483. RiseLevel(parts[i].Parent.Humanoid,.5/(Debounces.FPS/60))parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  1484. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  1485. RiseLevel(parts[i].Parent.Humanoid,3.1/(Debounces.FPS/60))parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  1486. end
  1487. end
  1488. 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)
  1489. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  1490. end
  1491. end
  1492. for i = 1,#Joints do
  1493. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  1494. end
  1495. local sineval = math.sin(tick() * 2) * 3
  1496. fire.Acceleration = Vector3.new(sineval,1,sineval)
  1497. light.Brightness = math.sin(math.cos(tick() * 2) * 1.5)
  1498. end)
  1499.  
  1500. local root = char.HumanoidRootPart
  1501. function teleport(key)
  1502. key = key:lower()
  1503. if key == "t" then
  1504. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  1505. wait(0.25)
  1506. Tired.n=Tired.n+5
  1507. end
  1508. end
  1509. mouse.KeyDown:connect(teleport)
  1510.  
  1511. function sandbox(var,func)
  1512. local env = getfenv(func)
  1513. local newenv = setmetatable({},{
  1514. __index = function(self,k)
  1515. if k=="script" then
  1516. return var
  1517. else
  1518. return env[k]
  1519. end
  1520. end,
  1521. })
  1522. setfenv(func,newenv)
  1523. return func
  1524. end
  1525. cors = {}
  1526. mas = Instance.new("Model",game:GetService("Lighting"))
  1527. Part0 = Instance.new("Part")
  1528. SpecialMesh1 = Instance.new("SpecialMesh")
  1529. Script2 = Instance.new("Script")
  1530. Part0.Name = "MainSky"
  1531. Part0.Parent = mas
  1532. Part0.CFrame = CFrame.new(-8.5, 2.5, 87.5, 0, 1, 0, 0, 0, 1, 1, 0, 0)
  1533. Part0.Orientation = Vector3.new(-90, -90, 0)
  1534. Part0.Position = Vector3.new(-8.5, 2.5, 87.5)
  1535. Part0.Rotation = Vector3.new(-90, 0, -90)
  1536. Part0.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1537. Part0.Size = Vector3.new(1, 1, 1)
  1538. Part0.Anchored = true
  1539. Part0.BottomSurface = Enum.SurfaceType.Smooth
  1540. Part0.BrickColor = BrickColor.new("Black")
  1541. Part0.Locked = true
  1542. Part0.Reflectance = 0.10000000149012
  1543. Part0.TopSurface = Enum.SurfaceType.Smooth
  1544. Part0.brickColor = BrickColor.new("Black")
  1545. Part0.FormFactor = Enum.FormFactor.Symmetric
  1546. Part0.formFactor = Enum.FormFactor.Symmetric
  1547. Part0.Shape = Enum.PartType.Ball
  1548. SpecialMesh1.Parent = Part0
  1549. SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=1185246"
  1550. SpecialMesh1.Scale = Vector3.new(-4700, -4700, -4700)
  1551. SpecialMesh1.VertexColor = Vector3.new(0.600000024, -1, 1)
  1552. SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=123629402"
  1553. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  1554. Script2.Name = "Spin"
  1555. Script2.Parent = Part0
  1556. table.insert(cors,sandbox(Script2,function()
  1557. spinning = script.Parent
  1558.  
  1559. while true do
  1560. spinning.CFrame = spinning.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.05)
  1561. wait(0.00)
  1562. end
  1563.  
  1564. end))
  1565. for i,v in pairs(mas:GetChildren()) do
  1566. v.Parent = workspace
  1567. pcall(function() v:MakeJoints() end)
  1568. end
  1569. mas:Destroy()
  1570. for i,v in pairs(cors) do
  1571. spawn(function()
  1572. pcall(v)
  1573. end)
  1574. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement