Advertisement
deadropz

mob

Mar 16th, 2017
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.34 KB | None | 0 0
  1. ----Mob Psycho 100 by lukeskywalker4ever--
  2.  
  3. function clerp(c1,c2,al)
  4. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  5. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  6. for i,v in pairs(com1) do
  7. com1[i] = v+(com2[i]-v)*al
  8. end
  9. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  10. end
  11.  
  12. function weld(p0,p1,c0,c1,par,name)
  13. local w = Instance.new("Weld", par)
  14. w.Name = name
  15. w.Part0 = p0
  16. w.Part1 = p1
  17. w.C0 = c0 or CFrame.new()
  18. w.C1 = c1 or CFrame.new()
  19. return w
  20. end
  21.  
  22. xmathrandom = math.random(-10,10)
  23. ymathrandom = math.random(2,10)
  24. zmathrandom = math.random(-10,10)
  25. musicDebounce = false
  26.  
  27. player = game:service("Players").LocalPlayer
  28. char = player.Character
  29. local beat = true
  30. local beattime = 0.6
  31. suit = Instance.new("Model", char)
  32. suit.Name = "MobPsycho100Attacks"
  33. suit2 = Instance.new("Model", char)
  34. suit2.Name = "MobPsycho100Shield"
  35. suit3 = Instance.new("Model", char)
  36. suit3.Name = "MobPsycho100TK"
  37. local vDebounce = false
  38. selectionboxEnable = false
  39. OldTKpart = nil
  40. UnknownMode= false
  41. Torso = char.Torso
  42. cf=CFrame.new
  43. euler=CFrame.fromEulerAnglesXYZ
  44. local SHOT_SPEED = 100
  45. local SHOT_TIME = 1
  46. local SHOT_SPEED2 = 500
  47. local SHOT_TIME2 = 1
  48. local NOZZLE_OFFSET = Vector3.new(0, 0, 0)
  49. local Berserk = Instance.new("Sound")
  50. Berserk.SoundId = "rbxassetid://165734961"
  51. mouse = player:GetMouse()
  52. running = false
  53. runEffect = false
  54. local noattack = true
  55. berserkValue = 0
  56. berserkValueAddDebounce = false
  57. berserkMode= false
  58. enabled = false
  59. ColorDebounce = false
  60. local MaterialNeededForAttack
  61. local ColorNeededForAttack
  62. RandomSizeForAttack = 0
  63. RandomCFForAttack = 0
  64. Glow1 = Color3.new(0,225,225)
  65. Glow2 = Color3.new(0,170,225)
  66. Ivalue = 0
  67. Ivalue2 = 0
  68. ShieldDown = false
  69. TKEnabled =false
  70. alreadyHaveTK = false
  71. dist = 25
  72.  
  73. GuiMain=Instance.new("ScreenGui")
  74. Radar=Instance.new("Frame")
  75. GuiMain.Parent=player.PlayerGui
  76. Radar.Parent=GuiMain
  77. Radar.Size=UDim2.new(3,0,3,0)
  78. Radar.Position=UDim2.new(0,0,-0.1,0)
  79. Radar.BackgroundTransparency=1
  80. Radar.BackgroundColor=BrickColor.new("Really black")
  81. Radar.Name="HealthScreen"
  82.  
  83. HeadOldC = char.Head.BrickColor
  84. TorsoOldC = char.Torso.BrickColor
  85. LAOldC = char["Left Arm"].BrickColor
  86. LLOldC = char["Left Leg"].BrickColor
  87. RAOldC = char["Right Arm"].BrickColor
  88. RLOldC = char["Right Leg"].BrickColor
  89.  
  90.  
  91. for _,v in pairs(char.Head:GetChildren()) do if v.ClassName=="Decal" then v:remove() end end
  92. for _,v in pairs(char:GetChildren()) do if v.ClassName=="Accessory" then v:remove() end end
  93. for _,v in pairs(char:GetChildren()) do if v.ClassName=="Shirt" or v.ClassName=="Pants" or v.ClassName=="T-Shirt" or v.ClassName=="ShirtGraphic" then v:remove() end end
  94. shirt=Instance.new("Shirt", char)
  95. shirt.Name = "Shirt"
  96. pants=Instance.new("Pants", char)
  97. pants.Name = "Pants"
  98. face=Instance.new("Decal", char.Head)
  99.  
  100.  
  101. shirt.ShirtTemplate="http://www.roblox.com/asset/?id=151958439"
  102. pants.PantsTemplate="http://www.roblox.com/asset/?id=152572734"
  103. face.Texture = "http://www.roblox.com/asset/?id=176217905"
  104.  
  105. local Hat=char:FindFirstChild'Hat_F'or Instance.new'Hat';
  106. Hat.AttachmentPos=Vector3.new(-0, 0.391, 0.078);
  107. Hat.AttachmentRight=Vector3.new(-0.999, 0, 0.032);
  108. Hat.AttachmentForward=Vector3.new(0.032, 0, 0.999);
  109. Hat.Name='Hat_F';
  110. local Handle=Hat:FindFirstChild'Handle'or Instance.new('Part',Hat);
  111. if(Handle.Name~='Handle')then Handle.Size=Vector3.new(1.373, 1.489, 1.873);end;
  112. Handle.BottomSurface=0;
  113. Handle.Name='Handle';
  114. Handle.Transparency= 0;
  115. Handle.TopSurface=0;
  116. Handle.Locked=1;
  117. Handle.Rotation = Vector3.new(180, 1.861, 180)
  118. Handle.BrickColor=BrickColor.new("Really black");
  119. local Mesh=Hat:FindFirstChild'Mesh'or Instance.new('SpecialMesh',Handle);
  120. Mesh.MeshId='rbxassetid://524411882 ';
  121. Mesh.Scale=Vector3.new(0.08, 0.07, 0.07);
  122.  
  123. Hat.Parent=char;
  124.  
  125. local Sounds = {
  126. Punch = Instance.new("Sound"),
  127. Opening = Instance.new("Sound"),
  128. Beep = Instance.new("Sound"),
  129. HundredPercent = Instance.new("Sound")
  130. }
  131.  
  132. Sounds["Punch"].SoundId = "rbxassetid://277495959"
  133. Sounds["Punch"].Volume = 1
  134. Sounds["Opening"].SoundId = "rbxassetid://201402598"
  135. Sounds["Opening"].Volume = 2
  136. Sounds["Beep"].SoundId = "rbxassetid://252141949"
  137. Sounds["Beep"].Volume = 1
  138. Sounds["HundredPercent"].SoundId = "rbxassetid://391819537"
  139. Sounds["HundredPercent"].Volume = 0.1
  140.  
  141. function PlaySound(soundname, pitch, where, looped,distance,enableLong)
  142. Sounds[soundname].Parent = where
  143. Sounds[soundname].Pitch = pitch
  144. Sounds[soundname].Looped= looped
  145. Sounds[soundname].MaxDistance = distance
  146. Sounds[soundname]:Play()
  147. local oldsound = Sounds[soundname]
  148. coroutine.resume(coroutine.create(function()
  149.  
  150. wait(13.5)
  151. for i = 1,1 do
  152. if oldsound.Looped == true then return end
  153. if enableLong == true then return end
  154. oldsound:Destroy()
  155. end
  156.  
  157. wait(90)
  158.  
  159. for i = 1,1 do
  160. if enableLong == true then
  161.  
  162.  
  163.  
  164. oldsound:Destroy()
  165. end
  166.  
  167.  
  168.  
  169. end
  170.  
  171.  
  172. end))
  173. Sounds[soundname] = Sounds[soundname]:clone()
  174. end
  175.  
  176. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  177.  
  178. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  179.  
  180.  
  181. RSH, LSH = nil, nil
  182.  
  183. LS = Torso["Left Shoulder"]
  184.  
  185. LH = Torso["Left Hip"]
  186.  
  187. RS = Torso["Right Shoulder"]
  188.  
  189. RH = Torso["Right Hip"]
  190. RSH = char.Torso["Right Shoulder"]
  191.  
  192. LSH = char.Torso["Left Shoulder"]
  193.  
  194.  
  195.  
  196. function Use()
  197.  
  198. RW.Part0 = char.Torso
  199.  
  200. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  201.  
  202. RW.C1 = CFrame.new(0, 0.5, 0)
  203.  
  204. RW.Part1 = char["Right Arm"]
  205.  
  206. RW.Parent = char.Torso
  207.  
  208.  
  209.  
  210. LW.Part0 = char.Torso
  211.  
  212. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  213.  
  214. LW.C1 = CFrame.new(0, 0.5, 0)
  215.  
  216. LW.Part1 = char["Left Arm"]
  217.  
  218. LW.Parent = char.Torso
  219.  
  220. for i = 1,20 do wait()
  221. RW.C1= clerp(RW.C1*CFrame.new(-.15, -.05, 0.01)*CFrame.fromEulerAnglesXYZ(-math.rad(-.1),-math.rad(-.1),-math.rad(3)),RW.C0,0.1)
  222. LW.C1= clerp(LW.C1*CFrame.new(.15, -.05, 0.01)*CFrame.fromEulerAnglesXYZ(math.rad(.1),math.rad(.1),-math.rad(-3)),LW.C0,0.1)
  223.  
  224.  
  225. end
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232. end
  233.  
  234.  
  235. function Slash1()
  236.  
  237. RW.Part0 = char.Torso
  238.  
  239. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  240.  
  241. RW.C1 = CFrame.new(0, 0.5, 0)
  242.  
  243. RW.Part1 = char["Right Arm"]
  244.  
  245. RW.Parent = char.Torso
  246.  
  247.  
  248.  
  249. LW.Part0 = char.Torso
  250.  
  251. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  252.  
  253. LW.C1 = CFrame.new(0, 0.5, 0)
  254.  
  255. LW.Part1 = char["Left Arm"]
  256.  
  257. LW.Parent = char.Torso
  258.  
  259.  
  260.  
  261.  
  262. for i = 1,20 do wait()
  263. RW.C1= clerp(RW.C1*CFrame.new(-.16, 0, 0)*CFrame.fromEulerAnglesXYZ(math.rad(-11.5),math.rad(0),math.rad(0)),RW.C0,0.1)
  264.  
  265.  
  266. end
  267.  
  268.  
  269. local selectionBoxOfRW = Instance.new("SelectionBox",char["Right Arm"])
  270. selectionBoxOfRW.Adornee = char["Right Arm"]
  271. selectionBoxOfRW.Color = BrickColor.new("Cyan")
  272. selectionBoxOfRW.LineThickness = 0.01
  273.  
  274. if berserkMode == true then
  275.  
  276. selectionBoxOfRW.Color = BrickColor.new("Really Black")
  277.  
  278. end
  279.  
  280.  
  281.  
  282. Ivalue = 3
  283.  
  284. if berserkMode == true then
  285.  
  286. Ivalue = 10
  287.  
  288. end
  289.  
  290. for i = 1,Ivalue do wait()
  291.  
  292. RandomCFForAttack = math.random(-50,50)
  293.  
  294. local randomThing = Instance.new("Part",suit)
  295. randomThing.TopSurface = "Smooth"
  296. randomThing.BottomSurface = "Smooth"
  297. randomThing.Size = Vector3.new(math.random(1,30), math.random(1,30), math.random(1,30))
  298. randomThing.CanCollide = false
  299. randomThing.BrickColor = BrickColor.new("Earth green")
  300. randomThing .Material = "Grass"
  301. randomThing.CFrame = Torso.CFrame*CFrame.new(RandomCFForAttack, 1, RandomCFForAttack)
  302.  
  303. local selectionBoxOfRandomThing = Instance.new("SelectionBox",randomThing)
  304. selectionBoxOfRandomThing.Adornee = randomThing
  305. selectionBoxOfRandomThing.Color = BrickColor.new("Cyan")
  306. selectionBoxOfRandomThing.LineThickness = 0.1
  307. RandomCFForAttack = 0
  308. randomThing.Anchored = true
  309.  
  310. if berserkMode == true then
  311.  
  312. selectionBoxOfRandomThing.Color = BrickColor.new("Institutional white")
  313.  
  314. end
  315.  
  316.  
  317.  
  318. for i = 1,10 do wait()
  319. randomThing.CFrame = clerp(randomThing.CFrame*CFrame.new(0, 0.1*i, 0),randomThing.CFrame,0.1)
  320. randomThing.Anchored = true
  321. print'test'
  322.  
  323. end
  324.  
  325. randomThing.Anchored = false
  326. local ray = Ray.new(randomThing.CFrame.p, (mouse.Hit.p - randomThing.CFrame.p).unit*300)
  327. local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
  328. local distance = (position - randomThing.CFrame.p).magnitude
  329.  
  330.  
  331.  
  332.  
  333. local handleCFrame = randomThing.CFrame
  334. local firingPoint = handleCFrame.p + handleCFrame:vectorToWorldSpace(NOZZLE_OFFSET)
  335. local shotCFrame = CFrame.new(firingPoint, mouse.Hit.p)
  336. local laserShotClone = randomThing:Clone()
  337. laserShotClone.CFrame = shotCFrame + (shotCFrame.lookVector * (randomThing.Size.Z / 2))
  338. local bodyVelocity = Instance.new('BodyVelocity')
  339. if berserkMode == true then
  340. bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEED2
  341. end
  342. if berserkMode == false then
  343. bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEED
  344. end
  345. bodyVelocity.Parent = laserShotClone
  346. bodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  347.  
  348.  
  349. laserShotClone.Parent = suit
  350.  
  351. randomThing:remove()
  352.  
  353.  
  354.  
  355.  
  356.  
  357. function touch(hit)
  358.  
  359.  
  360. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  361.  
  362. if hit.Parent.Name == char.Name then return end
  363.  
  364. if berserkMode == true then
  365.  
  366. hit.Parent:BreakJoints()
  367.  
  368.  
  369. end
  370.  
  371. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-2
  372.  
  373. local HitSounds = {
  374. Hurt = Instance.new("Sound")
  375.  
  376. }
  377.  
  378. HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=406913243"
  379. HitSounds["Hurt"].Volume = 1
  380.  
  381. function PlayHitSound(soundname, pitch)
  382. HitSounds[soundname].Parent = hit.Parent.Torso
  383. HitSounds[soundname].Pitch = pitch
  384. HitSounds[soundname]:Play()
  385. local oldsound = HitSounds[soundname]
  386. coroutine.resume(coroutine.create(function()
  387. wait(4)
  388. oldsound:Destroy()
  389. end))
  390. HitSounds[soundname] = HitSounds[soundname]:clone()
  391. end
  392.  
  393. PlayHitSound("Hurt", 1)
  394.  
  395. coroutine.resume(coroutine.create(function()
  396. bodyVelocity:remove()
  397. laserShotClone.CanCollide = true
  398. wait(3)
  399. laserShotClone:remove()
  400. end))
  401.  
  402. end end laserShotClone.Touched:connect(touch)
  403.  
  404. game.Debris:AddItem(laserShotClone,5)
  405.  
  406. end
  407. char.Torso.Anchored = false
  408.  
  409. for i = 1,10 do wait()
  410. selectionBoxOfRW.Transparency = selectionBoxOfRW.Transparency + 0.1
  411. end
  412. selectionBoxOfRW:remove()
  413.  
  414. end
  415.  
  416.  
  417. function Slash2()
  418.  
  419. RW.Part0 = char.Torso
  420.  
  421. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  422.  
  423. RW.C1 = CFrame.new(0, 0.5, 0)
  424.  
  425. RW.Part1 = char["Right Arm"]
  426.  
  427. RW.Parent = char.Torso
  428.  
  429.  
  430.  
  431. LW.Part0 = char.Torso
  432.  
  433. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  434.  
  435. LW.C1 = CFrame.new(0, 0.5, 0)
  436.  
  437. LW.Part1 = char["Left Arm"]
  438.  
  439. LW.Parent = char.Torso
  440.  
  441.  
  442.  
  443. for i = 1,20 do wait()
  444. RW.C1= clerp(RW.C1*CFrame.new(-.16, 0, 0)*CFrame.fromEulerAnglesXYZ(math.rad(-11.5),math.rad(0),math.rad(0)),RW.C0,0.1)
  445.  
  446.  
  447. end
  448.  
  449. local ArmWind = Instance.new("Part",suit)
  450. ArmWind.Size = Vector3.new(3,7,3)
  451. ArmWind.Name = "WindEffect"
  452. ArmWind.CanCollide = false
  453. ArmWind.Transparency = 1
  454. ArmWind.BrickColor = BrickColor.new("Institutional white")
  455.  
  456. weld(char["Right Arm"],ArmWind,CFrame.new(0,0,0),CFrame.new(0, -1, 0)*CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0),char,"ArmWindW")
  457.  
  458.  
  459.  
  460.  
  461.  
  462. function touch(hit)
  463.  
  464.  
  465. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  466.  
  467. if hit.Parent.Name == char.Name then return end
  468.  
  469. if hit.Parent.Name == suit2.Name then return end
  470.  
  471. if berserkMode == true then
  472.  
  473. hit.Parent:BreakJoints()
  474.  
  475.  
  476. end
  477.  
  478. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-5
  479.  
  480.  
  481.  
  482. local HitSounds = {
  483. Hurt = Instance.new("Sound")
  484.  
  485. }
  486.  
  487. HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
  488. HitSounds["Hurt"].Volume = 1
  489.  
  490. function PlayHitSound(soundname, pitch)
  491. HitSounds[soundname].Parent = hit.Parent.Torso
  492. HitSounds[soundname].Pitch = pitch
  493. HitSounds[soundname]:Play()
  494. local oldsound = HitSounds[soundname]
  495. coroutine.resume(coroutine.create(function()
  496. wait(4)
  497. oldsound:Destroy()
  498. end))
  499. HitSounds[soundname] = HitSounds[soundname]:clone()
  500. end
  501.  
  502. PlayHitSound("Hurt", 1)
  503.  
  504. local HitWind = Instance.new("Part",suit)
  505. HitWind.Size = Vector3.new(1,1,1)
  506. HitWind.Name = "WindEffect"
  507. HitWind.CanCollide = false
  508. HitWind.Anchored = true
  509. HitWind.Transparency = 0
  510.  
  511. local colorc = {"New Yeller","Magenta","Lapis","Cyan","Lime green"}
  512. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  513.  
  514. HitWind.BrickColor = Fire
  515. local HitWindMesh = Instance.new("BlockMesh",HitWind)
  516. HitWind.CFrame = hit.Parent.Torso.CFrame*CFrame.new(0,0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  517.  
  518. if berserkMode == false then
  519. hit.Parent.Torso.Velocity=HitWind.CFrame.lookVector * -50
  520. end
  521.  
  522. if berserkMode == true then
  523. hit.Parent.Torso.Velocity=HitWind.CFrame.lookVector * -100
  524. end
  525.  
  526. coroutine.resume(coroutine.create(function()
  527. for i = 1,10 do wait()
  528.  
  529. HitWind.CFrame= clerp(HitWind.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(10),math.rad(10),math.rad(10)),HitWind.CFrame,0.1)
  530. HitWindMesh.Scale = Vector3.new(1*i, 1*i, 1*i)
  531. HitWind.Transparency = HitWind.Transparency + 0.1
  532. end
  533.  
  534. HitWind:remove()
  535. end))
  536.  
  537.  
  538. end end ArmWind.Touched:connect(touch)
  539.  
  540. Ivalue2 = 10
  541.  
  542. if berserkMode == true then
  543.  
  544. Ivalue2 = 30
  545.  
  546. end
  547.  
  548. for i = 1,Ivalue2 do wait()
  549.  
  550.  
  551. local SpecialPart = Instance.new("Part",ArmWind)
  552.  
  553. SpecialPart.FormFactor="Custom"
  554.  
  555. SpecialPart.Size=Vector3.new(2,2,2)
  556.  
  557. SpecialPart.TopSurface = 0
  558.  
  559. SpecialPart.BottomSurface = 0
  560.  
  561. local colorc = {"New Yeller","Magenta","Lapis","Cyan","Lime green"}
  562.  
  563. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  564.  
  565. SpecialPart.BrickColor = Fire
  566.  
  567. SpecialPart.CanCollide=false
  568.  
  569. SpecialPart.Anchored=true
  570.  
  571. SpecialPart.CFrame =(ArmWind.CFrame*CFrame.new(0,-2,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  572.  
  573. local SpecialPartmesh = Instance.new("BlockMesh",SpecialPart)
  574.  
  575. for i = 1,5 do wait()
  576.  
  577. SpecialPartmesh.Scale=Vector3.new(0.5*i,0.5*i,0.5*i)
  578. SpecialPart.CFrame = clerp(SpecialPart.CFrame*CFrame.Angles(math.rad(10),math.rad(10),math.rad(10)),SpecialPart.CFrame,0.1)
  579. SpecialPart.Transparency = SpecialPart.Transparency + 0.2
  580. end
  581.  
  582. SpecialPart:remove()
  583.  
  584.  
  585.  
  586. end
  587. ArmWind:remove()
  588. Ivalue2 = 0
  589.  
  590. end
  591.  
  592. function Slash3()
  593.  
  594. RW.Part0 = char.Torso
  595.  
  596. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  597.  
  598. RW.C1 = CFrame.new(0, 0.5, 0)
  599.  
  600. RW.Part1 = char["Right Arm"]
  601.  
  602. RW.Parent = char.Torso
  603.  
  604.  
  605.  
  606. LW.Part0 = char.Torso
  607.  
  608. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  609.  
  610. LW.C1 = CFrame.new(0, 0.5, 0)
  611.  
  612. LW.Part1 = char["Left Arm"]
  613.  
  614. LW.Parent = char.Torso
  615.  
  616.  
  617.  
  618. for i = 1,20 do wait()
  619. RW.C1= clerp(RW.C1*CFrame.new(-.16, 0, 0)*CFrame.fromEulerAnglesXYZ(math.rad(-11.5),math.rad(0),math.rad(0)),RW.C0,0.1)
  620.  
  621.  
  622. end
  623.  
  624.  
  625.  
  626.  
  627.  
  628. TK = Instance.new("Part",suit3)
  629. TK.Size = Vector3.new(2,2,2)
  630. TK.Name = "TKEffect"
  631. TK.CanCollide = false
  632. TK.Position = mouse.hit.p
  633. TK.Transparency = 1
  634. TK.BrickColor = BrickColor.new("Institutional white")
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641. TKmove = Instance.new("BodyPosition",TK)
  642. TKmove.Position = char.Torso.Position + (mouse.Hit.lookVector*dist)
  643. TKmove.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  644. TKmove.P = 15000
  645.  
  646. pointGyro = Instance.new("BodyGyro",char.HumanoidRootPart)
  647. pointGyro.P = 1e7
  648. pointGyro.D = 1e3
  649. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  650. TKEnabled =true
  651. end
  652.  
  653. local chatberserk = Instance.new("Part",suit)
  654. chatberserk.TopSurface = "Smooth"
  655. chatberserk.BottomSurface = "Smooth"
  656. chatberserk.Name = "GUI"
  657. chatberserk.Transparency = 1
  658. chatberserk.Size = Vector3.new(2, 1, 0.1)
  659. chatberserk.CanCollide = false
  660. chatberserk.BrickColor=BrickColor.new("Institutional white")
  661.  
  662.  
  663.  
  664.  
  665. weld(char.Head,chatberserk,CFrame.new(0,0,0),CFrame.new(0, -3, 0),char,"Weld")
  666.  
  667.  
  668. local cy7=Instance.new("BlockMesh",chatberserk)
  669.  
  670.  
  671. local textb=Instance.new("SurfaceGui",chatberserk)
  672. textb.Face = "Back"
  673. local text2b=Instance.new("TextLabel",textb)
  674. text2b.Transparency = 0
  675.  
  676. text2b.Active=true
  677. textb.CanvasSize=Vector2.new(100,100)
  678. text2b.Position=UDim2.new(-0.05/3.5,0,0.5/3,0)
  679. text2b.Size=UDim2.new(1,0,1,0)
  680. text2b.Position=UDim2.new(0,0,-0.1,0)
  681. text2b.TextScaled = true
  682. text2b.Font = "Code"
  683.  
  684.  
  685. text2b.TextColor= BrickColor.new("Institutional white")
  686. text2b.BackgroundTransparency = 1
  687. text2b.BorderColor= BrickColor.new("Institutional white")
  688.  
  689.  
  690. text2b.Text= ""..berserkValue..""
  691.  
  692.  
  693. local text=Instance.new("SurfaceGui",chatberserk)
  694. local text2=Instance.new("TextLabel",text)
  695. text2.Transparency = 0
  696.  
  697. text2.Active=true
  698. text.CanvasSize=Vector2.new(100,100)
  699. text2.Position=UDim2.new(-0.05/3.5,0,0.5/3,0)
  700. text2.Size=UDim2.new(1,0,1,0)
  701. text2.Position=UDim2.new(0,0,-0.1,0)
  702. text2.TextScaled = true
  703. text2.Font = "Code"
  704.  
  705.  
  706. text2.TextColor= BrickColor.new("Institutional white")
  707. text2.BackgroundTransparency = 1
  708. text2.BorderColor= BrickColor.new("Institutional white")
  709.  
  710.  
  711. text2.Text= ""..berserkValue..""
  712.  
  713. function idle()
  714.  
  715. RW.Parent = nil
  716.  
  717. LW.Parent = nil
  718.  
  719. RSH.Parent = player.Character.Torso
  720.  
  721. LSH.Parent = player.Character.Torso
  722.  
  723.  
  724.  
  725. end
  726.  
  727. function StartUp()
  728. if UnknownMode == true then return end
  729. if enabled == true then return end
  730. if enabled == false then
  731. if enabled == true then return end
  732. enabled = nil
  733. local selectionBoxOfTorso = Instance.new("SelectionBox",Torso)
  734. selectionBoxOfTorso.Adornee = Torso
  735. selectionBoxOfTorso.Color = BrickColor.new("Cyan")
  736. selectionBoxOfTorso.LineThickness = 0.01
  737. selectionBoxOfTorso.Transparency = 1
  738.  
  739. local selectionBoxOfRightArm = Instance.new("SelectionBox",char["Right Arm"])
  740. selectionBoxOfRightArm.Adornee = char["Right Arm"]
  741. selectionBoxOfRightArm.Color = BrickColor.new("Cyan")
  742. selectionBoxOfRightArm.LineThickness = 0.01
  743. selectionBoxOfRightArm.Transparency = 1
  744.  
  745. local selectionBoxOfRightLeg = Instance.new("SelectionBox",char["Right Leg"])
  746. selectionBoxOfRightLeg.Adornee = char["Right Leg"]
  747. selectionBoxOfRightLeg.Color = BrickColor.new("Cyan")
  748. selectionBoxOfRightLeg.LineThickness = 0.01
  749. selectionBoxOfRightLeg.Transparency = 1
  750.  
  751. local selectionBoxOfLeftArm = Instance.new("SelectionBox",char["Left Arm"])
  752. selectionBoxOfLeftArm.Adornee = char["Left Arm"]
  753. selectionBoxOfLeftArm.Color = BrickColor.new("Cyan")
  754. selectionBoxOfLeftArm.LineThickness = 0.01
  755. selectionBoxOfLeftArm.Transparency = 1
  756.  
  757. local selectionBoxOfLeftLeg = Instance.new("SelectionBox",char["Left Leg"])
  758. selectionBoxOfLeftLeg.Adornee = char["Left Leg"]
  759. selectionBoxOfLeftLeg.Color = BrickColor.new("Cyan")
  760. selectionBoxOfLeftLeg.LineThickness = 0.01
  761. selectionBoxOfLeftLeg.Transparency = 1
  762.  
  763.  
  764. --Shield--
  765.  
  766. shieldhumanoid = Instance.new("Humanoid",suit2)
  767. shieldhumanoid.DisplayDistanceType = "None"
  768.  
  769.  
  770. Shield6= Instance.new("Part",suit2)
  771. Shield6.TopSurface = "Smooth"
  772. Shield6.BottomSurface = "Smooth"
  773. Shield6.Size = Vector3.new(4,0.2,4)
  774. Shield6.CanCollide = true
  775. Shield6.BrickColor = BrickColor.new("Cyan")
  776. Shield6 .FormFactor = "Custom"
  777. Shield6.Transparency = 0
  778.  
  779. weld(char.Torso,Shield6,CFrame.new(0,0,0),CFrame.new(0, 3, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char,"Shield")
  780.  
  781. Shield5= Instance.new("Part",suit2)
  782. Shield5.TopSurface = "Smooth"
  783. Shield5.BottomSurface = "Smooth"
  784. Shield5.Size = Vector3.new(4,0.2,4)
  785. Shield5.CanCollide = true
  786. Shield5.BrickColor = BrickColor.new("Cyan")
  787. Shield5 .FormFactor = "Custom"
  788. Shield5 .Name = "Head"
  789. Shield5.Transparency = 0
  790.  
  791. weld(char.Torso,Shield5,CFrame.new(0,0,0),CFrame.new(0, -3, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char,"Shield")
  792.  
  793.  
  794.  
  795. Shield4= Instance.new("Part",suit2)
  796. Shield4.TopSurface = "Smooth"
  797. Shield4.BottomSurface = "Smooth"
  798. Shield4.Size = Vector3.new(0.2,6,4)
  799. Shield4.CanCollide = true
  800. Shield4.BrickColor = BrickColor.new("Cyan")
  801. Shield4 .FormFactor = "Custom"
  802. Shield4.Transparency = 0
  803.  
  804. weld(char.Torso,Shield4,CFrame.new(0,0,0),CFrame.new(2, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char,"Shield")
  805.  
  806.  
  807. Shield3= Instance.new("Part",suit2)
  808. Shield3.TopSurface = "Smooth"
  809. Shield3.BottomSurface = "Smooth"
  810. Shield3.Size = Vector3.new(0.2,6,4)
  811. Shield3.CanCollide = true
  812. Shield3.BrickColor = BrickColor.new("Cyan")
  813. Shield3 .FormFactor = "Custom"
  814. Shield3.Transparency = 0
  815.  
  816. weld(char.Torso,Shield3,CFrame.new(0,0,0),CFrame.new(-2, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char,"Shield")
  817.  
  818.  
  819. Shield2= Instance.new("Part",suit2)
  820. Shield2.TopSurface = "Smooth"
  821. Shield2.BottomSurface = "Smooth"
  822. Shield2.Size = Vector3.new(4,6,0.2)
  823. Shield2.CanCollide = true
  824. Shield2.BrickColor = BrickColor.new("Cyan")
  825. Shield2 .FormFactor = "Custom"
  826. Shield2.Transparency = 0
  827.  
  828. weld(char.Torso,Shield2,CFrame.new(0,0,0),CFrame.new(0, 0, -2)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char,"Shield")
  829.  
  830. Shield1= Instance.new("Part",suit2)
  831. Shield1.TopSurface = "Smooth"
  832. Shield1.BottomSurface = "Smooth"
  833. Shield1.Size = Vector3.new(4,6,0.2)
  834. Shield1.CanCollide = true
  835. Shield1.BrickColor = BrickColor.new("Cyan")
  836. Shield1 .FormFactor = "Custom"
  837. Shield1.Transparency = 0
  838.  
  839. weld(char.Torso,Shield1,CFrame.new(0,0,0),CFrame.new(0, 0, 2)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char,"Shield")
  840.  
  841.  
  842. for i = 1,10 do wait()
  843.  
  844. selectionBoxOfLeftLeg.Transparency = selectionBoxOfLeftLeg.Transparency - 0.1
  845. selectionBoxOfLeftArm.Transparency = selectionBoxOfLeftArm.Transparency - 0.1
  846. selectionBoxOfRightLeg.Transparency = selectionBoxOfRightLeg.Transparency - 0.1
  847. selectionBoxOfRightArm.Transparency = selectionBoxOfRightArm.Transparency - 0.1
  848. selectionBoxOfTorso.Transparency = selectionBoxOfTorso.Transparency - 0.1
  849.  
  850. Shield1.Transparency = Shield1.Transparency + 0.1
  851. Shield2.Transparency = Shield2.Transparency + 0.1
  852. Shield3.Transparency = Shield3.Transparency + 0.1
  853. Shield4.Transparency = Shield4.Transparency + 0.1
  854. Shield5.Transparency = Shield5.Transparency + 0.1
  855. Shield6.Transparency = Shield6.Transparency + 0.1
  856.  
  857. end
  858.  
  859. function glowtouch(hit)
  860. if ColorDebounce == false then
  861. if ColorDebounce == true then return end
  862. ColorDebounce = true
  863.  
  864.  
  865. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  866.  
  867. if hit.Parent.Name == char.Name then return end
  868.  
  869. Shield1.Transparency = 0.7
  870. Shield2.Transparency = 0.7
  871. Shield3.Transparency = 0.7
  872. Shield4.Transparency = 0.7
  873. Shield5.Transparency = 0.7
  874. Shield6.Transparency = 0.7
  875.  
  876.  
  877. wait()
  878.  
  879. for i = 1,6 do wait()
  880. Shield1.Transparency = Shield1.Transparency + 0.05
  881. Shield2.Transparency = Shield2.Transparency + 0.05
  882. Shield3.Transparency = Shield3.Transparency + 0.05
  883. Shield4.Transparency = Shield4.Transparency + 0.05
  884. Shield5.Transparency = Shield5.Transparency + 0.05
  885. Shield6.Transparency = Shield6.Transparency + 0.05
  886.  
  887.  
  888. end
  889. end
  890. ColorDebounce = false
  891. end
  892. end
  893.  
  894. Shield1.Touched:connect(glowtouch)
  895. Shield2.Touched:connect(glowtouch)
  896. Shield3.Touched:connect(glowtouch)
  897. Shield4.Touched:connect(glowtouch)
  898. Shield5.Touched:connect(glowtouch)
  899. Shield6.Touched:connect(glowtouch)
  900.  
  901. Glow1 = Color3.new(0,225,225)
  902. Glow2 = Color3.new(0,170,225)
  903.  
  904. GlowParticle = Instance.new("ParticleEmitter",char.Torso)
  905. GlowParticle.LightEmission = 1
  906. GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
  907. GlowParticle.Size = NumberSequence.new(5,10)
  908. GlowParticle.Texture = "http://www.roblox.com/asset/?id=243660373"
  909. GlowParticle.Transparency = NumberSequence.new(.3,.8)
  910. GlowParticle.LockedToPart = true
  911. GlowParticle.Lifetime = NumberRange.new(2)
  912. GlowParticle.Rate= 10
  913. GlowParticle.Speed =NumberRange.new(0)
  914. wait(.1)
  915. for i = 1,10 do wait()
  916.  
  917. selectionBoxOfLeftLeg.Transparency = selectionBoxOfLeftLeg.Transparency + 0.1
  918. selectionBoxOfLeftArm.Transparency = selectionBoxOfLeftArm.Transparency + 0.1
  919. selectionBoxOfRightLeg.Transparency = selectionBoxOfRightLeg.Transparency + 0.1
  920. selectionBoxOfRightArm.Transparency = selectionBoxOfRightArm.Transparency + 0.1
  921. selectionBoxOfTorso.Transparency = selectionBoxOfTorso.Transparency + 0.1
  922.  
  923. end
  924. selectionBoxOfLeftLeg:remove()
  925. selectionBoxOfLeftArm:remove()
  926. selectionBoxOfRightLeg:remove()
  927. selectionBoxOfRightArm:remove()
  928. selectionBoxOfTorso:remove()
  929.  
  930. wait(1)
  931. enabled = true
  932. ShieldDown = false
  933.  
  934. end
  935. end
  936.  
  937. function Stop()
  938.  
  939. if berserkMode == true then return end
  940.  
  941. if enabled == false then return end
  942. if enabled == true then
  943. if enabled == false then return end
  944. enabled = nil
  945. GlowParticle:remove()
  946.  
  947.  
  948. if ShieldDown == true then
  949. shieldhumanoid:remove()
  950. end
  951. if ShieldDown == false then
  952. Shield1:remove()
  953. Shield2:remove()
  954. Shield3:remove()
  955. Shield4:remove()
  956. Shield5:remove()
  957. Shield6:remove()
  958. shieldhumanoid:remove()
  959. end
  960. wait(1)
  961.  
  962. enabled = false
  963. end
  964. end
  965.  
  966. mouse.Button1Down:connect(function()
  967. if enabled == false then return end
  968. if enabled == true then
  969. if vDebounce == false then
  970. vDebounce = true
  971.  
  972. Slash2()
  973. wait(0.5)
  974. idle()
  975. wait()
  976. idle()
  977.  
  978. vDebounce = false
  979. end
  980. end
  981. end)
  982.  
  983. mouse.KeyUp:connect(function(key)
  984.  
  985. if key == "e" then
  986. if TKEnabled == true then
  987. if TKEnabled == false then return end
  988. if enabled == false then return end
  989. if enabled == true then
  990. if vDebounce == true then
  991.  
  992. if selectionboxEnable == true then
  993. coroutine.resume(coroutine.create(function()
  994. for _,v in pairs(TKaffect:GetChildren()) do if v.ClassName=="Part" then
  995.  
  996. v.TK:remove()
  997.  
  998. end
  999. end
  1000.  
  1001. wait(3)
  1002. for _,v in pairs(TKaffect:GetChildren()) do if v.ClassName=="Part" then
  1003.  
  1004. v.TKeffectglow:Remove()
  1005.  
  1006. end
  1007. end
  1008.  
  1009. end))
  1010. vDebounce = false
  1011. selectionboxEnable = false
  1012. end
  1013.  
  1014. vDebounce = true
  1015. alreadyHaveTK = false
  1016. TK:remove()
  1017. TKmove:remove()
  1018. pointGyro:remove()
  1019. TKEnabled = false
  1020.  
  1021. idle()
  1022. wait()
  1023. idle()
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029. vDebounce = false
  1030. end
  1031. end
  1032. end
  1033. end
  1034.  
  1035.  
  1036. end)
  1037.  
  1038. mouse.KeyDown:connect(function(key)
  1039.  
  1040. if key =="m"then
  1041. if musicDebounce == false then
  1042. if musicDebounce == true then return end
  1043. musicDebounce = true
  1044.  
  1045. PlaySound("Opening", 1, char, false,math.huge,true)
  1046.  
  1047. wait(90)
  1048.  
  1049.  
  1050. musicDebounce = false
  1051. end
  1052. end
  1053.  
  1054. if key == "e" then
  1055. if enabled == false then return end
  1056. if enabled == true then
  1057. if vDebounce == false then
  1058. vDebounce = true
  1059.  
  1060. Slash3()
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067. end
  1068. end
  1069. end
  1070.  
  1071. if key == "q" then
  1072. if enabled == false then return end
  1073. if enabled == true then
  1074. if vDebounce == false then
  1075. vDebounce = true
  1076.  
  1077.  
  1078. Slash1()
  1079. wait()
  1080. idle()
  1081. wait()
  1082. idle()
  1083.  
  1084. vDebounce = false
  1085. end
  1086. end
  1087.  
  1088.  
  1089.  
  1090. end
  1091.  
  1092. if key == "p" then
  1093.  
  1094. if enabled == false then
  1095. if enabled == true then return end
  1096.  
  1097. StartUp()
  1098.  
  1099. elseif enabled == true then
  1100. if enabled == false then return end
  1101.  
  1102. Stop()
  1103.  
  1104. end
  1105. end
  1106.  
  1107.  
  1108. end)
  1109.  
  1110.  
  1111. game:service("RunService").Stepped:connect(function()
  1112.  
  1113.  
  1114.  
  1115.  
  1116. if berserkValueAddDebounce == true then return end
  1117.  
  1118.  
  1119. if char.Humanoid.Health>96 and char.Humanoid.Health<math.huge then
  1120.  
  1121. if berserkValue == 0 then return end
  1122. berserkValueAddDebounce = false
  1123.  
  1124. if berserkValueAddDebounce == false then
  1125. berserkValueAddDebounce = true
  1126. berserkValue = berserkValue - 1
  1127. text2.Text= ""..berserkValue..""
  1128. text2b.Text= ""..berserkValue..""
  1129. wait(5)
  1130. berserkValueAddDebounce = false
  1131. end
  1132. end
  1133.  
  1134. if char.Humanoid.Health>1 and char.Humanoid.Health<16 then
  1135.  
  1136. if berserkValue == 100 then return end
  1137. if berserkMode == true then return end
  1138.  
  1139. if berserkValueAddDebounce == true then return end
  1140. if berserkValueAddDebounce == false then
  1141. berserkValueAddDebounce = true
  1142.  
  1143. wait()
  1144. for i = 1,10 do wait()
  1145. PlaySound("Beep", 1, char.Torso, false,100,false)
  1146. if berserkValue == 100 then return end
  1147. berserkValue = berserkValue + 1
  1148. text2.Text= ""..berserkValue..""
  1149. text2b.Text= ""..berserkValue..""
  1150. end
  1151. berserkValueAddDebounce = false
  1152. end
  1153.  
  1154.  
  1155. end
  1156.  
  1157.  
  1158. if char.Humanoid.Health>16 and char.Humanoid.Health<32 then
  1159.  
  1160.  
  1161.  
  1162. if berserkValue == 100 then return end
  1163. if berserkMode == true then return end
  1164.  
  1165. if berserkValueAddDebounce == true then return end
  1166. if berserkValueAddDebounce == false then
  1167. berserkValueAddDebounce = true
  1168. for i = 1,5 do wait(.3)
  1169. PlaySound("Beep", 1, char.Torso, false,100,false)
  1170. if berserkValue == 100 then return end
  1171. berserkValue = berserkValue + 1
  1172. text2.Text= ""..berserkValue..""
  1173. text2b.Text= ""..berserkValue..""
  1174. end
  1175. berserkValueAddDebounce = false
  1176. end
  1177.  
  1178.  
  1179. end
  1180.  
  1181. if char.Humanoid.Health>32 and char.Humanoid.Health<48 then
  1182.  
  1183. if berserkValue == 100 then return end
  1184. if berserkMode == true then return end
  1185.  
  1186. if berserkValueAddDebounce == true then return end
  1187. if berserkValueAddDebounce == false then
  1188. berserkValueAddDebounce = true
  1189. for i = 1,3 do wait(0.5)
  1190. PlaySound("Beep", 1, char.Torso, false,100,false)
  1191. if berserkValue == 100 then return end
  1192. berserkValue = berserkValue + 1
  1193. text2.Text= ""..berserkValue..""
  1194. text2b.Text= ""..berserkValue..""
  1195. end
  1196. berserkValueAddDebounce = false
  1197. end
  1198.  
  1199.  
  1200. end
  1201.  
  1202. if char.Humanoid.Health>48 and char.Humanoid.Health<64 then
  1203.  
  1204. if berserkValue == 100 then return end
  1205. if berserkMode == true then return end
  1206.  
  1207. if berserkValueAddDebounce == true then return end
  1208. if berserkValueAddDebounce == false then
  1209. berserkValueAddDebounce = true
  1210. for i = 1,2 do wait(1)
  1211. PlaySound("Beep", 1, char.Torso, false,100,false)
  1212. if berserkValue == 100 then return end
  1213.  
  1214. berserkValue = berserkValue + 1
  1215. text2.Text= ""..berserkValue..""
  1216. text2b.Text= ""..berserkValue..""
  1217. end
  1218. berserkValueAddDebounce = false
  1219. end
  1220.  
  1221. end
  1222.  
  1223. if char.Humanoid.Health>64 and char.Humanoid.Health<80 then
  1224.  
  1225. if berserkValue == 100 then return end
  1226. if berserkMode == true then return end
  1227.  
  1228. if berserkValueAddDebounce == true then return end
  1229. if berserkValueAddDebounce == false then
  1230. berserkValueAddDebounce = true
  1231. for i = 1,2 do wait(1.5)
  1232. PlaySound("Beep", 1, char.Torso, false,100,false)
  1233. if berserkValue == 100 then return end
  1234.  
  1235. berserkValue = berserkValue + 1
  1236. text2.Text= ""..berserkValue..""
  1237. text2b.Text= ""..berserkValue..""
  1238. end
  1239. berserkValueAddDebounce = false
  1240. end
  1241.  
  1242.  
  1243. end
  1244.  
  1245. if char.Humanoid.Health>80 and char.Humanoid.Health<96 then
  1246.  
  1247. if berserkValue == 100 then return end
  1248. if berserkMode == true then return end
  1249.  
  1250. if berserkValueAddDebounce == true then return end
  1251. if berserkValueAddDebounce == false then
  1252. berserkValueAddDebounce = true
  1253.  
  1254. berserkValue = berserkValue + 1
  1255. PlaySound("Beep", 1, char.Torso, false,100,false)
  1256. text2.Text= ""..berserkValue..""
  1257. text2b.Text= ""..berserkValue..""
  1258. wait(2)
  1259. berserkValueAddDebounce = false
  1260. end
  1261. end
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268. end)
  1269.  
  1270.  
  1271.  
  1272.  
  1273. game:service("RunService").Stepped:connect(function()
  1274.  
  1275. if berserkValue == 100 then
  1276. if berserkMode == false then
  1277. if char.Humanoid.Health>0 and char.Humanoid.Health<5 then
  1278. if UnknownMode== false then
  1279. UnknownMode = true
  1280. unknownAttack = true
  1281.  
  1282.  
  1283. for i = 1,30 do wait()
  1284. PlaySound("HundredPercent", 6.7, char.Torso, false,math.huge,false)
  1285.  
  1286.  
  1287. end
  1288.  
  1289. if enabled == true then
  1290. Stop()
  1291. end
  1292.  
  1293. local mouth = Instance.new("Part",suit)
  1294. mouth.Size = Vector3.new(0.2,.7,0.4)
  1295. mouth.Transparency = 0
  1296. mouth.BrickColor = BrickColor.new("Really black")
  1297. mouth.CanCollide = false
  1298. local mouthMesh = Instance.new("SpecialMesh",mouth)
  1299. mouthMesh.MeshType = "Sphere"
  1300. mouthMesh.Scale = Vector3.new(2.5,0.1,0.8)
  1301.  
  1302. weld(char.Head,mouth,CFrame.new(0,0,0),CFrame.new(0, .3, 0.45)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char,"mouth")
  1303.  
  1304. local Eye1 = Instance.new("Part",suit)
  1305. Eye1.Size = Vector3.new(0.4,0.4,0.4)
  1306. Eye1.Transparency = 0
  1307. Eye1.BrickColor = BrickColor.new("Really black")
  1308. Eye1.CanCollide = false
  1309. local Eye1Mesh = Instance.new("SpecialMesh",Eye1)
  1310. Eye1Mesh.MeshType = "Sphere"
  1311. Eye1Mesh.Scale = Vector3.new(1,1,0.6)
  1312.  
  1313. weld(char.Head,Eye1,CFrame.new(0,0,0),CFrame.new(-.2, -.1, 0.5)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char,"Eye1")
  1314.  
  1315.  
  1316. local Eye2 = Instance.new("Part",suit)
  1317. Eye2.Size = Vector3.new(0.4,0.4,0.4)
  1318. Eye2.Transparency = 0
  1319. Eye2.CanCollide = false
  1320. Eye2.BrickColor = BrickColor.new("Really black")
  1321. local Eye2Mesh = Instance.new("SpecialMesh",Eye2)
  1322. Eye2Mesh.MeshType = "Sphere"
  1323. Eye2Mesh.Scale = Vector3.new(1,1,0.6)
  1324.  
  1325. weld(char.Head,Eye2,CFrame.new(0,0,0),CFrame.new(.2, -.1, 0.5)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char,"Eye2")
  1326.  
  1327. local MEye1 = Instance.new("Part",suit)
  1328. MEye1.Size = Vector3.new(0.3,0.3,0.3)
  1329. MEye1.Transparency = 0
  1330. MEye1.Material= "Neon"
  1331. MEye1.BrickColor = BrickColor.new("Institutional white")
  1332. MEye1.CanCollide = false
  1333. local MEye1Mesh = Instance.new("SpecialMesh",MEye1)
  1334. MEye1Mesh.MeshType = "Sphere"
  1335. MEye1Mesh.Scale = Vector3.new(.7,.7,.2)
  1336.  
  1337. weld(Eye1,MEye1,CFrame.new(0,0,0),CFrame.new(-.02,0,0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char,"MEye1")
  1338.  
  1339. local MEye2 = Instance.new("Part",suit)
  1340. MEye2.Size = Vector3.new(0.3,0.3,0.3)
  1341. MEye2.Transparency = 0
  1342. MEye2.Material= "Neon"
  1343. MEye2.BrickColor = BrickColor.new("Institutional white")
  1344. MEye2.CanCollide = false
  1345. local MEye2Mesh = Instance.new("SpecialMesh",MEye2)
  1346. MEye2Mesh.MeshType = "Sphere"
  1347. MEye2Mesh.Scale = Vector3.new(.7,.7,.2)
  1348.  
  1349. weld(Eye2,MEye2,CFrame.new(0,0,0),CFrame.new(.02,0,0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char,"MEye2")
  1350.  
  1351.  
  1352.  
  1353. text2.Text= "???%"
  1354. text2b.Text= "???%"
  1355. text2.TextColor= BrickColor.new("Really black")
  1356. text2b.TextColor= BrickColor.new("Really black")
  1357.  
  1358. face.Texture = ""
  1359. shirt.ShirtTemplate=""
  1360. pants.PantsTemplate=""
  1361. Mesh.MeshId ="rbxassetid://98444143";
  1362. Handle.BrickColor = BrickColor.new("Really black");
  1363. Hat.AttachmentPos = Vector3.new(0,-0.15,-0.1);
  1364.  
  1365. char.Humanoid.WalkSpeed = 100
  1366. char.Humanoid.MaxHealth = math.huge
  1367. char.Humanoid.Health = math.huge
  1368. char.Humanoid.JumpPower = 100
  1369.  
  1370. char.Head.BrickColor = BrickColor.new("Really black")
  1371. char.Torso.BrickColor = BrickColor.new("Really black")
  1372. char["Left Arm"].BrickColor = BrickColor.new("Really black")
  1373. char["Left Leg"].BrickColor = BrickColor.new("Really black")
  1374. char["Right Arm"].BrickColor = BrickColor.new("Really black")
  1375. char["Right Leg"].BrickColor = BrickColor.new("Really black")
  1376.  
  1377. Use()
  1378.  
  1379. local BerserkParticle2 = Instance.new("ParticleEmitter",char.Torso)
  1380. BerserkParticle2.LightEmission = 1
  1381. BerserkParticle2.Size = NumberSequence.new(10,15)
  1382. BerserkParticle2.Texture = "http://www.roblox.com/asset/?id=243660364"
  1383. BerserkParticle2.Transparency = NumberSequence.new(.2,.7)
  1384. BerserkParticle2.LockedToPart = true
  1385. BerserkParticle2.Lifetime = NumberRange.new(1)
  1386. BerserkParticle2.Rate= 10
  1387. BerserkParticle2.Speed =NumberRange.new(0)
  1388. BerserkParticle2.Rotation = NumberRange.new(0,360)
  1389. BerserkParticle2.RotSpeed = NumberRange.new(-10,10)
  1390. BerserkParticle2.VelocitySpread = 360
  1391.  
  1392. char.Torso.Anchored = true
  1393. TKEnabled = true
  1394.  
  1395.  
  1396.  
  1397. Radar.BackgroundTransparency= 0
  1398.  
  1399.  
  1400.  
  1401. local RangeTorso = Instance.new("Part",suit)
  1402.  
  1403. RangeTorso.Size = Vector3.new(300,50,300)
  1404. RangeTorso.Transparency = 1
  1405. RangeTorso.CanCollide = false
  1406. RangeTorso.Position = MEye2.Position*Vector3.new(0,-50,0)
  1407. RangeTorso.Name = "RangeTorso"
  1408.  
  1409.  
  1410. local TKRangeTorso = Instance.new("BodyPosition",RangeTorso)
  1411. TKRangeTorso.Position = char.Torso.Position
  1412. TKRangeTorso.Name = "RangeTorsoTK"
  1413. TKRangeTorso.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1414. TKRangeTorso.P = 25000
  1415.  
  1416. function touch(hit)
  1417. if unknownAttack == false then return end
  1418.  
  1419. TKaffect = hit.Parent
  1420.  
  1421. if hit.Parent.Name == suit.Name then return end
  1422.  
  1423. if hit.Parent.Name == suit2.Name then return end
  1424.  
  1425. if hit.Parent.Name == char.Name then return end
  1426.  
  1427. for _,v in pairs(TKaffect:GetChildren()) do if v.ClassName=="Part" or v.ClassName =="WedgePart" or v.ClassName =="CornerWedgePart" or v.ClassName =="TrussPart"then
  1428.  
  1429. OldTKpart = v
  1430.  
  1431.  
  1432. if v.Anchored == true then
  1433.  
  1434. if v.Name == workspace.Baseplate.Name then return end
  1435.  
  1436. v.Anchored = false
  1437.  
  1438.  
  1439. end
  1440.  
  1441. if unknownAttack == false then return end
  1442. local TKmove3 = Instance.new("BodyVelocity",v)
  1443. TKmove3.Name = "TK3"
  1444. TKmove3.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1445. TKmove3.P = 25000
  1446. TKmove3.Velocity = Vector3.new(0,10,0)
  1447.  
  1448.  
  1449.  
  1450. game.Debris:AddItem(TKmove3,10)
  1451. wait(10)
  1452.  
  1453. coroutine.resume(coroutine.create(function()
  1454. v.Parent:BreakJoints()
  1455.  
  1456. end))
  1457.  
  1458. end end
  1459.  
  1460.  
  1461. end RangeTorso.Touched:connect(touch)
  1462.  
  1463.  
  1464.  
  1465.  
  1466. coroutine.resume(coroutine.create(function()
  1467. for i = 1,20 do wait()
  1468.  
  1469. RangeTorso.Position = MEye2.Position*Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1470.  
  1471. local explodePart = Instance.new("Part",suit)
  1472.  
  1473. explodePart.FormFactor="Custom"
  1474.  
  1475. explodePart.Size=Vector3.new(2,2,2)
  1476.  
  1477. explodePart.TopSurface = 0
  1478.  
  1479. explodePart.BottomSurface = 0
  1480.  
  1481. local colorc = {"Really black"}
  1482.  
  1483. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1484.  
  1485. explodePart.BrickColor = Fire
  1486.  
  1487. explodePart.CanCollide=false
  1488.  
  1489. explodePart.Anchored=true
  1490.  
  1491. explodePart.CFrame =(Torso.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  1492.  
  1493. local explodePartmesh = Instance.new("BlockMesh",explodePart)
  1494.  
  1495. for i = 1,10 do wait()
  1496.  
  1497.  
  1498.  
  1499. explodePartmesh.Scale=Vector3.new(5*i,5*i,5*i)
  1500. explodePart.CFrame = clerp(explodePart.CFrame*CFrame.Angles(math.rad(10),math.rad(10),math.rad(10)),explodePart.CFrame,0.1)
  1501. explodePart.Transparency = explodePart.Transparency + 0.1
  1502. end
  1503.  
  1504. explodePart:remove()
  1505. end
  1506. end))
  1507.  
  1508.  
  1509. wait(10)
  1510.  
  1511. selectionboxEnable = false
  1512. TKEnabled = false
  1513. UnknownMode = false
  1514. RangeTorso:remove()
  1515.  
  1516. face.Texture = "http://www.roblox.com/asset/?id=321187438"
  1517. shirt.ShirtTemplate="rbxassetid://373395462"
  1518. pants.PantsTemplate="rbxassetid://373395510"
  1519. Mesh.MeshId ="rbxassetid://524411882";
  1520. Handle.BrickColor = BrickColor.new("Really black");
  1521. Hat.AttachmentPos = Vector3.new(-0, 0.391, 0.078);
  1522. Mesh.Scale = Vector3.new(0.08, 0.07, 0.07)
  1523.  
  1524. char.Humanoid.WalkSpeed = 16
  1525. char.Humanoid.JumpPower = 50
  1526. char.Humanoid.Health = 100
  1527. char.Humanoid.MaxHealth = 100
  1528.  
  1529. BerserkParticle2:remove()
  1530. TKaffect = nil
  1531. unknownAttack = false
  1532. char.Head.BrickColor = HeadOldC
  1533. char.Torso.BrickColor = TorsoOldC
  1534. char.Torso.Anchored = false
  1535. char["Left Arm"].BrickColor = LAOldC
  1536. char["Left Leg"].BrickColor = LLOldC
  1537. char["Right Arm"].BrickColor = RAOldC
  1538. char["Right Leg"].BrickColor = RLOldC
  1539. MEye2:remove()
  1540. MEye1:remove()
  1541. Eye1:remove()
  1542. Eye2:remove()
  1543. mouth:remove()
  1544. berserkValue = 0
  1545. text2.Text= ""..berserkValue..""
  1546. text2b.Text= ""..berserkValue..""
  1547. idle()
  1548. wait()
  1549. idle()
  1550.  
  1551. for i=1,10 do
  1552. Radar.BackgroundTransparency= Radar.BackgroundTransparency + 0.1
  1553.  
  1554. wait(0.15)
  1555. end
  1556.  
  1557. end
  1558. return end
  1559.  
  1560. if UnknownMode == false then
  1561. if UnknownMode == true then return end
  1562. berserkMode = true
  1563.  
  1564. berserkValueAddDebounce = false
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570. char.Torso.Anchored = true
  1571.  
  1572.  
  1573. for i = 1,30 do wait()
  1574. PlaySound("HundredPercent", 6.7, char.Torso, false,math.huge,false)
  1575.  
  1576.  
  1577. end
  1578.  
  1579.  
  1580.  
  1581. if enabled == false then
  1582. berserkMode = false
  1583. wait()
  1584. StartUp()
  1585. end
  1586. face.Texture = "http://www.roblox.com/asset/?id=176217464"
  1587. Handle.BrickColor = BrickColor.new("Persimmon");
  1588.  
  1589. char.Humanoid.WalkSpeed = 100
  1590. char.Humanoid.MaxHealth = math.huge
  1591. char.Humanoid.Health = math.huge
  1592. shieldhumanoid.MaxHealth = math.huge
  1593. shieldhumanoid.Health = math.huge
  1594. char.Humanoid.JumpPower = 100
  1595. Berserk:Play()
  1596.  
  1597. char.Head.BrickColor = BrickColor.new("Salmon")
  1598. char.Torso.BrickColor = BrickColor.new("Salmon")
  1599. char["Left Arm"].BrickColor = BrickColor.new("Salmon")
  1600. char["Left Leg"].BrickColor = BrickColor.new("Salmon")
  1601. char["Right Arm"].BrickColor = BrickColor.new("Salmon")
  1602. char["Right Leg"].BrickColor = BrickColor.new("Salmon")
  1603.  
  1604.  
  1605. local explodePart = Instance.new("Part",workspace)
  1606.  
  1607. explodePart.FormFactor="Custom"
  1608.  
  1609. explodePart.Size=Vector3.new(2,2,2)
  1610.  
  1611. explodePart.TopSurface = 0
  1612.  
  1613. explodePart.BottomSurface = 0
  1614.  
  1615. local colorc = {"Institutional white"}
  1616.  
  1617. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1618.  
  1619. explodePart.BrickColor = Fire
  1620.  
  1621. explodePart.CanCollide=false
  1622.  
  1623. explodePart.Anchored=true
  1624.  
  1625. explodePart.CFrame =(Torso.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  1626.  
  1627. local explodePartmesh = Instance.new("BlockMesh",explodePart)
  1628.  
  1629. for i = 1,10 do wait()
  1630.  
  1631. explodePartmesh.Scale=Vector3.new(5*i,5*i,5*i)
  1632. explodePart.CFrame = clerp(explodePart.CFrame*CFrame.Angles(math.rad(10),math.rad(10),math.rad(10)),explodePart.CFrame,0.1)
  1633. explodePart.Transparency = explodePart.Transparency + 0.1
  1634. end
  1635.  
  1636. --[[By LukeSky4ever... U think you could just delete the creator's name dont ya?]]--
  1637.  
  1638.  
  1639. explodePart:remove()
  1640. char.Torso.Anchored = false
  1641.  
  1642. BerserkParticle = Instance.new("ParticleEmitter",char.Torso)
  1643. BerserkParticle.LightEmission = 1
  1644. BerserkParticle.Size = NumberSequence.new(10,15)
  1645. BerserkParticle.Texture = "rbxassetid://500690091"
  1646. BerserkParticle.Transparency = NumberSequence.new(.2,.7)
  1647. BerserkParticle.LockedToPart = true
  1648. BerserkParticle.Lifetime = NumberRange.new(1)
  1649. BerserkParticle.Rate= 10
  1650. BerserkParticle.Speed =NumberRange.new(0)
  1651. BerserkParticle.Rotation = NumberRange.new(0,360)
  1652. BerserkParticle.RotSpeed = NumberRange.new(-10,10)
  1653. BerserkParticle.VelocitySpread = 360
  1654. coroutine.resume(coroutine.create(function()
  1655. for i = 1,90 do wait()
  1656.  
  1657. local explodePart = Instance.new("Part",workspace)
  1658.  
  1659. explodePart.FormFactor="Custom"
  1660.  
  1661. explodePart.Size=Vector3.new(2,2,2)
  1662.  
  1663. explodePart.TopSurface = 0
  1664.  
  1665. explodePart.BottomSurface = 0
  1666.  
  1667. local colorc = {"Institutional white"}
  1668.  
  1669. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1670.  
  1671. explodePart.BrickColor = Fire
  1672.  
  1673. explodePart.CanCollide=false
  1674.  
  1675. explodePart.Anchored=true
  1676.  
  1677. explodePart.CFrame =(Torso.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  1678.  
  1679. local explodePartmesh = Instance.new("BlockMesh",explodePart)
  1680.  
  1681. for i = 1,5 do wait()
  1682.  
  1683. explodePartmesh.Scale=Vector3.new(1*i,1*i,1*i)
  1684. explodePart.CFrame = clerp(explodePart.CFrame*CFrame.Angles(math.rad(10),math.rad(10),math.rad(10)),explodePart.CFrame,0.1)
  1685. explodePart.Transparency = explodePart.Transparency + 0.2
  1686. end
  1687.  
  1688. explodePart:remove()
  1689. end
  1690. end))
  1691.  
  1692. wait(1)
  1693.  
  1694.  
  1695. for i = 1,100 do wait(.3)
  1696. if berserkValue == 0 then return end
  1697. berserkValue = berserkValue - 1
  1698. text2.Text= ""..berserkValue..""
  1699. text2b.Text= ""..berserkValue..""
  1700. char.Head.BrickColor = BrickColor.new("Salmon")
  1701. char.Torso.BrickColor = BrickColor.new("Salmon")
  1702. char["Left Arm"].BrickColor = BrickColor.new("Salmon")
  1703. char["Left Leg"].BrickColor = BrickColor.new("Salmon")
  1704. char["Right Arm"].BrickColor = BrickColor.new("Salmon")
  1705. char["Right Leg"].BrickColor = BrickColor.new("Salmon")
  1706. wait(.1)
  1707.  
  1708.  
  1709.  
  1710. end
  1711.  
  1712. shirt.ShirtTemplate="http://www.roblox.com/asset/?id=151958439"
  1713. pants.PantsTemplate="http://www.roblox.com/asset/?id=152572734"
  1714. face.Texture = "http://www.roblox.com/asset/?id=176217905"
  1715. Handle.BrickColor = BrickColor.new("Really black")
  1716.  
  1717. char.Humanoid.WalkSpeed = 16
  1718. char.Humanoid.JumpPower = 50
  1719. char.Humanoid.Health = 100
  1720. char.Humanoid.MaxHealth = 100
  1721. shieldhumanoid.MaxHealth = 100
  1722. shieldhumanoid.Health = 100
  1723.  
  1724. BerserkParticle:remove()
  1725. char.Head.BrickColor = HeadOldC
  1726. char.Torso.BrickColor = TorsoOldC
  1727. char["Left Arm"].BrickColor = LAOldC
  1728. char["Left Leg"].BrickColor = LLOldC
  1729. char["Right Arm"].BrickColor = RAOldC
  1730. char["Right Leg"].BrickColor = RLOldC
  1731. char.Humanoid.PlatformStand = true
  1732.  
  1733. for i=1,10 do
  1734. Radar.BackgroundTransparency= Radar.BackgroundTransparency - 0.1
  1735.  
  1736. wait(0.15)
  1737. end
  1738. wait(10)
  1739. for i=1,10 do
  1740. Radar.BackgroundTransparency= Radar.BackgroundTransparency + 0.1
  1741.  
  1742. wait(0.15)
  1743. end
  1744. char.Humanoid.PlatformStand = false
  1745. berserkMode = false
  1746. dist = 25
  1747. Stop()
  1748. end
  1749. end
  1750. end
  1751.  
  1752. if berserkValue>80 and berserkValue<100 then
  1753.  
  1754. text2.TextColor= BrickColor.new("Really red")
  1755. text2b.TextColor= BrickColor.new("Really red")
  1756.  
  1757. end
  1758.  
  1759.  
  1760. if berserkValue>64 and berserkValue<80 then
  1761.  
  1762. text2.TextColor= BrickColor.new("Deep orange")
  1763. text2b.TextColor= BrickColor.new("Deep orange")
  1764.  
  1765. end
  1766.  
  1767. if berserkValue>48 and berserkValue<64 then
  1768.  
  1769.  
  1770.  
  1771. text2.TextColor= BrickColor.new("New Yeller")
  1772. text2b.TextColor= BrickColor.new("New Yeller")
  1773.  
  1774.  
  1775. end
  1776.  
  1777. if berserkValue>32 and berserkValue<48 then
  1778.  
  1779.  
  1780.  
  1781. text2.TextColor= BrickColor.new("Lime green")
  1782. text2b.TextColor= BrickColor.new("Lime green")
  1783.  
  1784. end
  1785.  
  1786. if berserkValue>16 and berserkValue<32 then
  1787.  
  1788.  
  1789.  
  1790. text2.TextColor= BrickColor.new("Cyan")
  1791. text2b.TextColor= BrickColor.new("Cyan")
  1792.  
  1793.  
  1794. end
  1795.  
  1796. if berserkValue>-math.huge and berserkValue<16 then
  1797.  
  1798. text2.TextColor= BrickColor.new("Institutional white")
  1799. text2b.TextColor= BrickColor.new("Institutional white")
  1800.  
  1801. end
  1802.  
  1803. end)
  1804.  
  1805. game:service("RunService").Stepped:connect(function()
  1806.  
  1807. if enabled == true then
  1808. if shieldhumanoid.Health == 0 then
  1809. if ColorDebounce == false then
  1810. if ColorDebounce == true then return end
  1811. ColorDebounce = true
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817. for i =1,20 do wait()
  1818.  
  1819.  
  1820. Shield1.Transparency = 0.9
  1821. Shield2.Transparency = 0.9
  1822. Shield3.Transparency = 0.9
  1823. Shield4.Transparency = 0.9
  1824. Shield5.Transparency = 0.9
  1825. Shield6.Transparency = 0.9
  1826. wait()
  1827. Shield1.Transparency = 0.5
  1828. Shield2.Transparency = 0.5
  1829. Shield3.Transparency = 0.5
  1830. Shield4.Transparency = 0.5
  1831. Shield5.Transparency = 0.5
  1832. Shield6.Transparency = 0.5
  1833.  
  1834.  
  1835. end
  1836.  
  1837. Shield1:Remove()
  1838. Shield2:Remove()
  1839. Shield3:Remove()
  1840. Shield4:Remove()
  1841. Shield5:Remove()
  1842. Shield6:Remove()
  1843.  
  1844. ShieldDown = true
  1845. ColorDebounce = false
  1846. end
  1847. end
  1848. end
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855. end)
  1856.  
  1857.  
  1858. game:service("RunService").Stepped:connect(function()
  1859.  
  1860.  
  1861.  
  1862. if selectionboxEnable == true then
  1863. if UnknownMode == true then return end
  1864. TKmove2.Position = char.Torso.Position + (mouse.Hit.lookVector*dist)
  1865.  
  1866.  
  1867. end
  1868.  
  1869. if TKEnabled == true then
  1870.  
  1871. if UnknownMode == true then return end
  1872.  
  1873. TKmove.Position = char.Torso.Position + (mouse.Hit.lookVector*dist)
  1874. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - char.HumanoidRootPart.CFrame.p).unit * 100)
  1875.  
  1876. function touch(hit)
  1877.  
  1878. if alreadyHaveTK == false then
  1879. if alreadyHaveTK == true then return end
  1880. alreadyHaveTK = true
  1881.  
  1882.  
  1883. TKaffect = hit.Parent
  1884.  
  1885.  
  1886. if hit.Parent.Name == suit.Name then return end
  1887.  
  1888. if hit.Parent.Name == suit2.Name then return end
  1889.  
  1890. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1891.  
  1892. hit.Parent.Humanoid.PlatformStand= true
  1893.  
  1894.  
  1895. end
  1896.  
  1897. for _,v in pairs(TKaffect:GetChildren()) do if v.ClassName=="Part" then
  1898.  
  1899.  
  1900. OldTKpart = v
  1901. coroutine.resume(coroutine.create(function()
  1902. if v.Anchored == true then
  1903.  
  1904. if v.Name == workspace.Baseplate.Name then return end
  1905.  
  1906. v.Anchored = false
  1907.  
  1908. end
  1909. end))
  1910.  
  1911. function touch(hit)
  1912.  
  1913. if selectionboxEnable == false then
  1914.  
  1915. OldTKpart =nil return
  1916.  
  1917. end
  1918.  
  1919. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1920.  
  1921. if hit.Parent.Name == char.Name then return end
  1922.  
  1923. if hit.Parent.Name == suit.Name then return end
  1924.  
  1925. if hit.Parent.Name == suit2.Name then return end
  1926.  
  1927. if berserkMode == true then
  1928.  
  1929. hit.Parent:BreakJoints()
  1930.  
  1931.  
  1932. end
  1933.  
  1934. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-5
  1935.  
  1936.  
  1937.  
  1938. local HitSounds = {
  1939. Hurt = Instance.new("Sound")
  1940.  
  1941. }
  1942.  
  1943. HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
  1944. HitSounds["Hurt"].Volume = 1
  1945.  
  1946. function PlayHitSound(soundname, pitch)
  1947. HitSounds[soundname].Parent = hit.Parent.Torso
  1948. HitSounds[soundname].Pitch = pitch
  1949. HitSounds[soundname]:Play()
  1950. local oldsound = HitSounds[soundname]
  1951. coroutine.resume(coroutine.create(function()
  1952. wait(4)
  1953. oldsound:Destroy()
  1954. end))
  1955. HitSounds[soundname] = HitSounds[soundname]:clone()
  1956. end
  1957.  
  1958. PlayHitSound("Hurt", 1)
  1959.  
  1960.  
  1961. end
  1962.  
  1963.  
  1964.  
  1965.  
  1966. end OldTKpart.Touched:connect(touch)
  1967.  
  1968.  
  1969. TKmove2 = Instance.new("BodyPosition",v)
  1970. TKmove2.Position = char.Torso.Position + (mouse.Hit.lookVector*dist)
  1971. TKmove2.Name = "TK"
  1972. TKmove2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1973. TKmove2.P = 25000
  1974. if berserkMode == true then
  1975. TKmove2.P = 50000
  1976.  
  1977. end
  1978.  
  1979. local selectionBoxOfTK = Instance.new("SelectionBox",v)
  1980. selectionBoxOfTK.Adornee = v
  1981. selectionBoxOfTK.Name= "TKeffectglow"
  1982.  
  1983.  
  1984. selectionBoxOfTK.Color = BrickColor.new("Cyan")
  1985. selectionBoxOfTK.LineThickness = 0.01
  1986. if berserkMode == true then
  1987.  
  1988. selectionBoxOfTK.Color = BrickColor.new("Institutional white")
  1989.  
  1990.  
  1991. end
  1992. selectionboxEnable = true
  1993.  
  1994. end end
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000. end
  2001.  
  2002. end TK.Touched:connect(touch)
  2003.  
  2004. end
  2005.  
  2006.  
  2007. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement