Advertisement
Mitko1223tm

mob fe test

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