Advertisement
Josemmoya

keybind

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