Advertisement
Limesy

oreo crimsons stand

Mar 4th, 2021
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.47 KB | None | 0 0
  1. --Events
  2. local replicatedstorage = game:GetService("ReplicatedStorage")
  3. local standevent = replicatedstorage.Stand
  4. local healevent = replicatedstorage.Heal
  5. local healevent2 = replicatedstorage.Heal6
  6. local damageevent = replicatedstorage.Damage2
  7. local damageevent2 = replicatedstorage.Damage3
  8. local damageevent3 = replicatedstorage.Damage5
  9. local damageevent4 = replicatedstorage.Damage13
  10. local blastevent = replicatedstorage.OHBlast
  11. local blockevent = replicatedstorage.Block
  12. local timestopevent = replicatedstorage.Timestop
  13. local untimestopevent = replicatedstorage.Untimestop
  14. local transparencyevent = replicatedstorage.Transparency
  15. local strongpunchevent = replicatedstorage.StrongPunch
  16. local dodgeevent = replicatedstorage.Dodge
  17. local slamevent = replicatedstorage.Slam
  18. local anchorevent = replicatedstorage.Anchor
  19. local trailevent = replicatedstorage.Trail
  20. local jumpevent = replicatedstorage.Jump
  21. local velocityevent = replicatedstorage.Velocity
  22. local poseevent = replicatedstorage.Menacing
  23. local tauntevent = replicatedstorage.Taunt
  24. local knockevent = replicatedstorage.KnockAdvanced
  25. local knockclientevent = replicatedstorage.KnockClient
  26. local knockedevent = replicatedstorage.Knocked
  27. local getupevent = replicatedstorage.GetUp
  28. local berserkclientevent = replicatedstorage.BerserkClient
  29.  
  30. local plr = game:GetService("Players").LocalPlayer
  31. repeat
  32. wait()
  33. until plr.Character and plr.Character.Humanoid
  34. local chr = plr.Character
  35. local human = chr.Humanoid
  36. local hrp = chr.HumanoidRootPart
  37. mouse = plr:GetMouse()
  38. cam = workspace.CurrentCamera
  39.  
  40. standevent:FireServer("OreoCrimson's Custom", 10, 250)
  41.  
  42. --Values
  43. local activu = false
  44. local appeared = false
  45. local timestopper = false
  46. local length = 7.5
  47. local disabled = chr:WaitForChild("Disabled")
  48. local pt = 0
  49.  
  50. local stand = chr:WaitForChild("Stand")
  51. local rot = stand:WaitForChild("StandHumanoidRootPart")
  52. local hed = stand:WaitForChild("Stand Head")
  53. local face = hed:WaitForChild("face")
  54. local tors = stand:WaitForChild("Stand Torso")
  55. local rarm = stand:WaitForChild("Stand Right Arm")
  56. local larm = stand:WaitForChild("Stand Left Arm")
  57. local rleg = stand:WaitForChild("Stand Right Leg")
  58. local lleg = stand:WaitForChild("Stand Left Leg")
  59.  
  60. local head = chr["Head"]
  61. local ntorso = chr["Torso"]
  62. local rightarm = chr["Right Arm"]
  63. local leftarm = chr["Left Arm"]
  64. local rightleg = chr["Right Leg"]
  65. local leftleg = chr["Left Leg"]
  66. --Animation
  67. local nothinganim = human:LoadAnimation(rot.Nothing)
  68. local idleanim = human:LoadAnimation(rot.Idle)
  69. local barrageanim = human:LoadAnimation(rot.PunchBarrage)
  70. local healbarrageanim = human:LoadAnimation(rot.HealBarrage)
  71. local blockanim = human:LoadAnimation(rot.Block)
  72. local leftpunchanim = human:LoadAnimation(rot.LeftPunch)
  73. local rightpunchanim = human:LoadAnimation(rot.RightPunch)
  74. local strongpunchanim = human:LoadAnimation(rot.StrongPunch)
  75. local overwriteanim = human:LoadAnimation(rot.Overwrite)
  76. local slamanim = human:LoadAnimation(rot.Slam)
  77. local timestopanim = human:LoadAnimation(rot.TS)
  78. local standjumpanim = human:LoadAnimation(rot.StandJump)
  79. local blastanim = human:LoadAnimation(rot.BlastFire)
  80. local pose1 = human:LoadAnimation(rot.Pose1)
  81. local pose2 = human:LoadAnimation(rot.Pose2)
  82. local attackpose = human:LoadAnimation(rot.AttackPose)
  83. local rollanim = human:LoadAnimation(rot.Roll)
  84. --Sound
  85. local dodgesfx = rot.Dodge
  86. local diesfx = rot.Die
  87. local blocksfx = rot.Guard
  88. local punchsfx = rot.Punch
  89. local heavypunchsfx = rot.HeavyPunch
  90. local overwritesfx = rot.Overwritten
  91. local rushsfx = rot.Rush
  92. local standappearsfx = rot.StandAppear
  93. local shootsfx = rot.Blast
  94. local jumpsfx = rot.StandJumpSFX
  95. local standappearcooldown = false
  96. function standappear(stand)
  97. if activu == true then return end
  98. if standappearcooldown == true then return end
  99. standappearcooldown = true
  100. if appeared == false then
  101. appeared = true
  102. nothinganim:Stop()
  103. idleanim:Play(0.2, 1, 1)
  104. standappearsfx:Play()
  105. for _, n in pairs(stand:GetChildren()) do
  106. coroutine.resume(coroutine.create(function()
  107. for _ = 1, 5 do
  108. if n ~= rot and n.ClassName ~= "Sound" then
  109. wait()
  110. transparencyevent:FireServer(n, n.Transparency - 0.2)
  111. transparencyevent:FireServer(face, n.Transparency - 0.2)
  112. end
  113. end
  114. if n ~= rot then
  115. transparencyevent:FireServer(n, 0)
  116. transparencyevent:FireServer(face, 0)
  117. end
  118. end))
  119. end
  120. elseif appeared == true then
  121. appeared = false
  122. idleanim:Stop()
  123. nothinganim:Play(0.2, 1, 1)
  124. for _, n in pairs(stand:GetChildren()) do
  125. coroutine.resume(coroutine.create(function()
  126. for _ = 1, 5 do
  127. if n ~= rot and n.ClassName ~= "Sound" then
  128. wait()
  129. transparencyevent:FireServer(n, n.Transparency + 0.2)
  130. transparencyevent:FireServer(face, n.Transparency + 0.2)
  131. end
  132. end
  133. if n ~= rot then
  134. transparencyevent:FireServer(n, 1)
  135. transparencyevent:FireServer(face, 1)
  136. end
  137. end))
  138. end
  139. end
  140. wait(2.5)
  141. standappearcooldown = false
  142. end
  143. local EHMMM = 0
  144. local barragecooldown = false
  145. function barrage()
  146. if activu == true then return end
  147. if barragecooldown == true then return end
  148. if appeared == false then
  149. return
  150. end
  151. activu = true
  152. barragecooldown = true
  153. local bep = true
  154. local de = mouse.KeyUp:connect(function(key)
  155. if key == "e" then
  156. bep = false
  157. end
  158. end)
  159. trailevent:FireServer(rarm.Trail, true)
  160. trailevent:FireServer(larm.Trail, true)
  161. barrageanim:Play(0.1, 1, 1.75)
  162. human.JumpPower = 0
  163. rushsfx:Play()
  164. attackpose:Play()
  165. repeat
  166. EHMMM = EHMMM + 0.5
  167. hito(rarm, rarm.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,2, 6.25, 0.05, 0.25, rot.CFrame.lookVector * 2.5, 0.075,"rbxassetid://137579113", math.random(9, 11) / 10, math.random(9, 11) / 50)
  168. hito(larm, larm.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,2, 6.25, 0.05, 0.25, rot.CFrame.lookVector * 2.5, 0.075,"rbxassetid://137579113", math.random(9, 11) / 10, math.random(9, 11) / 50)
  169. wait(0.05)
  170. until bep == false or disabled.Value == true or EHMMM >= 40
  171. EHMMM = 0
  172. rushsfx:Stop()
  173. attackpose:Stop()
  174. human.JumpPower = 50
  175. barrageanim:Stop(0.1)
  176. trailevent:FireServer(rarm.Trail, false)
  177. trailevent:FireServer(larm.Trail, false)
  178. activu = false
  179. wait(5)
  180. barragecooldown = false
  181. end
  182. local healbarrageotherscooldown = false
  183. function healbarrageothers()
  184. if activu == true then return end
  185. if healbarrageotherscooldown == true then return end
  186. if appeared == false then
  187. return
  188. end
  189. activu = true
  190. healbarrageotherscooldown = true
  191. local bep = true
  192. local de = mouse.KeyUp:connect(function(key)
  193. if key == "y" then
  194. bep = false
  195. end
  196. end)
  197. trailevent:FireServer(rarm.Trail, true)
  198. trailevent:FireServer(larm.Trail, true)
  199. barrageanim:Play(0.1, 1, 1.75)
  200. rushsfx:Play()
  201. human.JumpPower = 0
  202. attackpose:Play()
  203. repeat
  204. EHMMM = EHMMM + 0.5
  205. healo(rarm, rarm.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,2, 1, 0.05, 0.25, rot.CFrame.lookVector * 2.5, 0.075,"rbxassetid://137579113", math.random(9, 11) / 5, math.random(9, 11) / 50)
  206. healo(larm, larm.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,2, 1, 0.05, 0.25, rot.CFrame.lookVector * 2.5, 0.075,"rbxassetid://137579113", math.random(9, 11) / 5, math.random(9, 11) / 50)
  207. wait(0.05)
  208. until bep == false or disabled.Value == true or EHMMM >= 40
  209. EHMMM = 0
  210. rushsfx:Stop()
  211. attackpose:Stop()
  212. human.JumpPower = 50
  213. barrageanim:Stop(0.1)
  214. trailevent:FireServer(rarm.Trail, false)
  215. trailevent:FireServer(larm.Trail, false)
  216. activu = false
  217. wait(30)
  218. healbarrageotherscooldown = false
  219. end
  220. local healbarragecooldown = false
  221. function healbarrage()
  222. if activu == true then return end
  223. if healbarragecooldown == true then return end
  224. if appeared == false then
  225. return
  226. end
  227. activu = true
  228. healbarragecooldown = true
  229. local bep = true
  230. local de = mouse.KeyUp:connect(function(key)
  231. if key == "y" then
  232. bep = false
  233. end
  234. end)
  235. trailevent:FireServer(rarm.Trail, true)
  236. trailevent:FireServer(larm.Trail, true)
  237. human.JumpPower = 0
  238. healbarrageanim:Play(0.1, 1, 1.75)
  239. rushsfx:Play()
  240. attackpose:Play()
  241. repeat
  242. EHMMM = EHMMM + 0.5
  243. heal(ntorso.CFrame * CFrame.new(0, 1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)), 1,"rbxassetid://137579113", math.random(9, 11) / 5, math.random(9, 11) / 50)
  244. wait(0.05)
  245. until bep == false or disabled.Value == true or EHMMM >= 40
  246. EHMMM = 0
  247. rushsfx:Stop()
  248. attackpose:Stop()
  249. healbarrageanim:Stop(0.1)
  250. human.JumpPower = 50
  251. trailevent:FireServer(rarm.Trail, false)
  252. trailevent:FireServer(larm.Trail, false)
  253. activu = false
  254. wait(30)
  255. healbarragecooldown = false
  256. end
  257. function block()
  258. if activu == true then return end
  259. if appeared == false then
  260. return
  261. end
  262. activu = true
  263. human.JumpPower = 0
  264. local bep = true
  265. local de = mouse.KeyUp:connect(function(key)
  266. if key == "x" then
  267. bep = false
  268. end
  269. end)
  270. blockanim:Play(0.1, 1, 1)
  271. blockevent:FireServer(true)
  272. attackpose:Play()
  273. blocksfx:Play()
  274. repeat
  275. wait()
  276. until bep == false
  277. blockevent:FireServer(false)
  278. blockanim:Stop(0.1)
  279. human.JumpPower = 50
  280. attackpose:Stop()
  281. activu = false
  282. end
  283. local leftorright = false
  284. function punch()
  285. if activu == true then return end
  286. if appeared == false then
  287. return
  288. end
  289. activu = true
  290. punchsfx:Play()
  291. human.JumpPower = 0
  292. attackpose:Play()
  293. if leftorright == false then
  294. leftorright = true
  295. rightpunchanim:Play(0.1, 1, 1)
  296. trailevent:FireServer(rarm.Trail, true)
  297. wait(0.2)
  298. coroutine.resume(coroutine.create(function()
  299. for _ = 1, 5 do
  300. wait()
  301. hito2(rarm, rarm.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,2.5, 12.5, 0.5, 0.25, rot.CFrame.lookVector * 10, 0.075,"rbxassetid://137579113", math.random(9, 11) / 10, math.random(9, 11) / 25)
  302. end
  303. end))
  304. elseif leftorright == true then
  305. leftorright = false
  306. leftpunchanim:Play(0.1, 1, 1)
  307. trailevent:FireServer(larm.Trail, true)
  308. wait(0.2)
  309. coroutine.resume(coroutine.create(function()
  310. for _ = 1, 5 do
  311. wait()
  312. hito2(larm, larm.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,2.5, 12.5, 0.5, 0.25, rot.CFrame.lookVector * 10, 0.075,"rbxassetid://137579113", math.random(9, 11) / 10, math.random(9, 11) / 25)
  313. end
  314. end))
  315. end
  316. wait(0.3)
  317. attackpose:Stop()
  318. activu = false
  319. trailevent:FireServer(rarm.Trail, false)
  320. trailevent:FireServer(larm.Trail, false)
  321. human.JumpPower = 50
  322. end
  323. local strongpunchcooldown = false
  324. function strongpunch()
  325. if activu == true then return end
  326. if strongpunchcooldown == true then return end
  327. if appeared == false then
  328. return
  329. end
  330. activu = true
  331. strongpunchcooldown = true
  332. heavypunchsfx:Play()
  333. strongpunchanim:Play(0.1, 1, 1)
  334. human.JumpPower = 0
  335. attackpose:Play()
  336. trailevent:FireServer(rarm.Trail, true)
  337. wait(0.5)
  338. strongpunchevent:FireServer(Vector3.new(1, 0.5, 1), Vector3.new(0.3, 0.15, 0.3), BrickColor.new("Institutional white"))
  339. coroutine.resume(coroutine.create(function()
  340. for _ = 1, 15 do
  341. wait()
  342. hito3(rarm, rarm.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,3, 37.5, 0.75, 0.25, rot.CFrame.lookVector * 50, 0.25,"rbxassetid://137579113", math.random(9, 11) / 10, math.random(9, 11) / 10)
  343. end
  344. end))
  345. wait(0.65)
  346. trailevent:FireServer(rarm.Trail, false)
  347. attackpose:Stop()
  348. activu = false
  349. human.JumpPower = 50
  350. wait(7.5)
  351. strongpunchcooldown = false
  352. end
  353. local blastcooldown = false
  354. function ohblast()
  355. if activu == true then return end
  356. if blastcooldown == true then return end
  357. if appeared == false then
  358. return
  359. end
  360. blastcooldown = true
  361. activu = true
  362. blastanim:Play(0.1, 1, 1)
  363. human.JumpPower = 0
  364. blastevent:FireServer()
  365. wait(0.7)
  366. shootsfx:Play()
  367. wait(0.5)
  368. activu = false
  369. human.JumpPower = 50
  370. wait(45)
  371. blastcooldown = false
  372. end
  373. local overwritecooldown = false
  374. function overwrite()
  375. if activu == true then return end
  376. if overwritecooldown == true then return end
  377. if appeared == false then
  378. return
  379. end
  380. activu = true
  381. overwritecooldown = true
  382. overwritesfx:Play()
  383. overwriteanim:Play(0.1, 1, 1)
  384. human.JumpPower = 0
  385. attackpose:Play()
  386. trailevent:FireServer(rarm.Trail, true)
  387. wait(1.5)
  388. strongpunchevent:FireServer(Vector3.new(1, 0.5, 1), Vector3.new(0.3, 0.15, 0.3), BrickColor.new("Institutional white"))
  389. coroutine.resume(coroutine.create(function()
  390. for _ = 1, 15 do
  391. wait()
  392. hito4(rarm, rarm.CFrame * CFrame.new(0, -1, 0) * CFrame.new(math.random(-0.25, 0.25), math.random(-0.25, 0.25), math.random(-0.25, 0.25)) ,3.5, 87.5, 0.75, 0.25, rot.CFrame.lookVector * 50, 0.25,"rbxassetid://1202656211", math.random(9, 11) / 10, math.random(9, 11) / 10)
  393. end
  394. end))
  395. wait(0.65)
  396. trailevent:FireServer(rarm.Trail, false)
  397. attackpose:Stop()
  398. human.JumpPower = 50
  399. activu = false
  400. wait(30)
  401. overwritecooldown = false
  402. end
  403. local slamcooldown = false
  404. function slam()
  405. if activu == true then return end
  406. if slamcooldown == true then return end
  407. if appeared == false then
  408. return
  409. end
  410. activu = true
  411. slamcooldown = true
  412. overwritesfx:Play()
  413. human.JumpPower = 0
  414. human.WalkSpeed = 4
  415. slamanim:Play(0.1, 1, 1)
  416. attackpose:Play()
  417. trailevent:FireServer(rarm.Trail, true)
  418. wait(1.5)
  419. slamevent:FireServer()
  420. hito5(rot, 22.5, 50, 0.75, 0.25, Vector3.new(0, 75, 0))
  421. wait(0.65)
  422. trailevent:FireServer(rarm.Trail, false)
  423. attackpose:Stop()
  424. activu = false
  425. human.JumpPower = 50
  426. human.WalkSpeed = 16
  427. wait(30)
  428. slamcooldown = false
  429. end
  430. local movementcooldown = false
  431. function movement()
  432. if activu == true then return end
  433. if movementcooldown == true then return end
  434. if appeared == false then
  435. return
  436. end
  437. movementcooldown = true
  438. activu = true
  439. standjumpanim:Play(0.1, 1, 1)
  440. jumpsfx:Play()
  441. jumpevent:FireServer(BrickColor.new("Institutional white"))
  442. local Bod = Instance.new("BodyPosition", hrp)
  443. Bod.maxForce = Vector3.new(100000, 100000, 100000)
  444. Bod.Position = hrp.CFrame*CFrame.new(0, 75, -100).p
  445. game.Debris:AddItem(Bod, 1)
  446. wait(1)
  447. activu = false
  448. wait(14)
  449. movementcooldown = false
  450. end
  451. local timestopping = false
  452. local timestopcooldown = true
  453. function timestop()
  454. if activu == true then return end
  455. if timestopcooldown == true then return end
  456. if timestopping == true then return end
  457. if game.Lighting.TS.Value == true then return end
  458. if game.Lighting.TE.Value == true then return end
  459. if game.Lighting.TSing.Value == true then return end
  460. if game.Lighting.TS.Value == true then return end
  461. if appeared == false then
  462. return
  463. end
  464. activu = true
  465. timestopcooldown = true
  466. timestopanim:Play(0.1, 1, 1)
  467. human.WalkSpeed = 0
  468. human.JumpPower = 0
  469. timestopping = true
  470. timestopevent:FireServer(length, "jotaro")
  471. wait(1.5)
  472. for i = 1,25 do
  473. wait()
  474. end
  475. human.WalkSpeed = 16
  476. human.JumpPower = 50
  477. timestopping = false
  478. activu = false
  479. wait(60)
  480. timestopcooldown = false
  481. end
  482. function untimestop()
  483. untimestopevent:FireServer()
  484. end
  485. local posing = false
  486. function posefunc()
  487. if activu == false and posing == false then
  488. if appeared == false then
  489. return
  490. end
  491. if posing == false then do
  492. activu = true
  493. posing = true
  494. local cp = math.random(1, 2)
  495. if cp == 1 then
  496. pose1:Play(0.1, 1, 1)
  497. elseif cp == 2 then
  498. pose2:Play(0.1, 1, 1)
  499. end
  500. human.WalkSpeed = 0
  501. human.JumpPower = 0
  502. poseevent:FireServer(true)
  503. end
  504. end
  505. elseif posing == true then
  506. pose1:Stop(0.3)
  507. pose2:Stop(0.3)
  508. if disabled.Value == false then
  509. human.WalkSpeed = 16
  510. human.JumpPower = 50
  511. elseif disabled.Value == true then
  512. human.WalkSpeed = 4
  513. human.JumpPower = 10
  514. end
  515. activu = false
  516. posing = false
  517. poseevent:FireServer(false)
  518. end
  519. end
  520. dodgecooldown = false
  521. function dodge()
  522. if activu == true then return end
  523. if dodgecooldown == true then return end
  524. activu = true
  525. dodgecooldown = true
  526. rollanim:Play()
  527. dodgesfx:Play()
  528. dodgeevent:FireServer()
  529. local boopyve = Instance.new("BodyVelocity")
  530. boopyve.MaxForce = Vector3.new(100000, 0, 100000)
  531. boopyve.P = math.huge
  532. boopyve.Velocity = hrp.CFrame.lookVector * 50
  533. boopyve.Parent = chr.HumanoidRootPart
  534. game.Debris:AddItem(boopyve, 0.25)
  535. wait(0.4)
  536. activu = false
  537. wait(3)
  538. dodgecooldown = false
  539. end
  540. local tauntcd = false
  541. function taunt()
  542. if tauntcd == true then return end
  543. tauntcd = true
  544. local randomline = math.random(1, 3)
  545. if randomline == 1 then
  546. tauntevent:FireServer(head, "Good grief.", "rbxassetid://3249080921", 3, 1.42, 0)
  547. elseif randomline == 2 then
  548. tauntevent:FireServer(head, "I'll beat you down later.", "rbxassetid://2740829879", 3, 3.1, 0)
  549. elseif randomline == 3 then
  550. tauntevent:FireServer(head, "You're damn loud.", "rbxassetid://3249105512", 3, 0.75, 0)
  551. end
  552. end
  553. local bhold = false
  554. function holdingb()
  555. bhold = true
  556. local de = mouse.KeyUp:connect(function(key)
  557. if key == "b" then
  558. bhold = false
  559. end
  560. end)
  561. end
  562. mouse.Button1Down:connect(function()
  563. if ntorso.Anchored == true then return end
  564. if disabled.Value == true then return end
  565. punch()
  566. end)
  567. mouse.KeyDown:connect(function(key)
  568. if ntorso.Anchored == true then return end
  569. if disabled.Value == true then return end
  570. if key == "q" then
  571. standappear(stand)
  572. end
  573. if key == "e" then
  574. barrage()
  575. end
  576. if key == "r" then
  577. strongpunch()
  578. end
  579. if key == "t" then
  580. overwrite()
  581. end
  582. if key == "y" then
  583. if bhold == false then
  584. healbarrageothers()
  585. end
  586. if bhold == true then
  587. healbarrage()
  588. end
  589. end
  590. if key == "h" then
  591. slam()
  592. end
  593. if key == "v" then
  594. ohblast()
  595. end
  596. if key == "x" then
  597. block()
  598. end
  599. if key == "f" then
  600. if game.Lighting.TS.Value == false then
  601. timestop()
  602. elseif game.Lighting.TS.Value == true then
  603. untimestop()
  604. end
  605. end
  606. if key == "z" then
  607. movement()
  608. end
  609. if key == "c" then
  610. dodge()
  611. end
  612. if key == "g" then
  613. posefunc()
  614. end
  615. if key == "n" then
  616. taunt()
  617. end
  618. if key == "b" then
  619. holdingb()
  620. end
  621. end)
  622. function hito(partoz, partcfr, magn, dmg, debtim, debtime, bodyfdire, grow, sound, pitch, volume)
  623. for _, guy in pairs(workspace:GetChildren()) do
  624. if partoz.Anchored == true then return end
  625. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  626. do
  627. if partoz.Anchored then return end
  628. local humz = guy:FindFirstChild("Humanoid")
  629. local horp = guy:FindFirstChild("HumanoidRootPart")
  630. damageevent:FireServer(humz, partcfr, dmg, debtime, bodyfdire, grow, sound, pitch, volume)
  631. local db = Instance.new("StringValue")
  632. db.Name = "alabo"
  633. db.Parent = horp
  634. delay(debtim, function()
  635. db:Destroy()
  636. end)
  637. end
  638. end
  639.  
  640. if guy:FindFirstChild("Stand") and guy["Stand"]:FindFirstChild("Stand Torso") and guy ~= chr and guy ~= chr[stand.Name] and magn > (guy["Stand"]:FindFirstChild("Stand Torso").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  641. do
  642. if partoz.Anchored then return end
  643. local humz = guy:FindFirstChild("Humanoid")
  644. local horp = guy:FindFirstChild("HumanoidRootPart")
  645. damageevent:FireServer(humz, partcfr, dmg, debtime, bodyfdire, grow, sound, pitch, volume)
  646. local db = Instance.new("StringValue")
  647. db.Name = "alabo"
  648. db.Parent = horp
  649. delay(debtim, function()
  650. db:Destroy()
  651. end)
  652. end
  653. end
  654.  
  655. end
  656. end
  657.  
  658. function hito2(partoz, partcfr, magn, dmg, debtim, debtime, bodyfdire, grow, sound, pitch, volume)
  659. for _, guy in pairs(workspace:GetChildren()) do
  660. if partoz.Anchored == true then return end
  661. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  662. do
  663. if partoz.Anchored then return end
  664. local humz = guy:FindFirstChild("Humanoid")
  665. local horp = guy:FindFirstChild("HumanoidRootPart")
  666. damageevent2:FireServer(humz, partcfr, dmg, debtime, bodyfdire, grow, sound, pitch, volume)
  667. local db = Instance.new("StringValue")
  668. db.Name = "alabo"
  669. db.Parent = horp
  670. delay(debtim, function()
  671. db:Destroy()
  672. end)
  673. end
  674. end
  675.  
  676. if guy:FindFirstChild("Stand") and guy["Stand"]:FindFirstChild("Stand Torso") and guy ~= chr and guy ~= chr[stand.Name] and magn > (guy["Stand"]:FindFirstChild("Stand Torso").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  677. do
  678. if partoz.Anchored then return end
  679. local humz = guy:FindFirstChild("Humanoid")
  680. local horp = guy:FindFirstChild("HumanoidRootPart")
  681. damageevent2:FireServer(humz, partcfr, dmg, debtime, bodyfdire, grow, sound, pitch, volume)
  682. local db = Instance.new("StringValue")
  683. db.Name = "alabo"
  684. db.Parent = horp
  685. delay(debtim, function()
  686. db:Destroy()
  687. end)
  688. end
  689. end
  690.  
  691. end
  692. end
  693.  
  694. function hito3(partoz, partcfr, magn, dmg, debtim, debtime, bodyfdire, grow, sound, pitch, volume)
  695. for _, guy in pairs(workspace:GetChildren()) do
  696. if partoz.Anchored == true then return end
  697. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  698. do
  699. if partoz.Anchored then return end
  700. local humz = guy:FindFirstChild("Humanoid")
  701. local horp = guy:FindFirstChild("HumanoidRootPart")
  702. damageevent2:FireServer(humz, partcfr, dmg, debtime, bodyfdire, grow, sound, pitch, volume)
  703. knockevent:FireServer(humz)
  704. local db = Instance.new("StringValue")
  705. db.Name = "alabo"
  706. db.Parent = horp
  707. delay(debtim, function()
  708. db:Destroy()
  709. end)
  710. end
  711. end
  712.  
  713. if guy:FindFirstChild("Stand") and guy["Stand"]:FindFirstChild("Stand Torso") and guy ~= chr and guy ~= chr[stand.Name] and magn > (guy["Stand"]:FindFirstChild("Stand Torso").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  714. do
  715. if partoz.Anchored then return end
  716. local humz = guy:FindFirstChild("Humanoid")
  717. local horp = guy:FindFirstChild("HumanoidRootPart")
  718. damageevent2:FireServer(humz, partcfr, dmg, debtime, bodyfdire, grow, sound, pitch, volume)
  719. knockevent:FireServer(humz)
  720. local db = Instance.new("StringValue")
  721. db.Name = "alabo"
  722. db.Parent = horp
  723. delay(debtim, function()
  724. db:Destroy()
  725. end)
  726. end
  727. end
  728.  
  729. end
  730. end
  731.  
  732. function hito4(partoz, partcfr, magn, dmg, debtim, debtime, bodyfdire, grow, sound, pitch, volume)
  733. for _, guy in pairs(workspace:GetChildren()) do
  734. if partoz.Anchored == true then return end
  735. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  736. do
  737. if partoz.Anchored then return end
  738. local humz = guy:FindFirstChild("Humanoid")
  739. local horp = guy:FindFirstChild("HumanoidRootPart")
  740. damageevent3:FireServer(humz, partcfr, dmg, debtime, bodyfdire, grow, sound, pitch, volume)
  741. knockevent:FireServer(humz)
  742. local db = Instance.new("StringValue")
  743. db.Name = "alabo"
  744. db.Parent = horp
  745. delay(debtim, function()
  746. db:Destroy()
  747. end)
  748. end
  749. end
  750.  
  751. if guy:FindFirstChild("Stand") and guy["Stand"]:FindFirstChild("Stand Torso") and guy ~= chr and guy ~= chr[stand.Name] and magn > (guy["Stand"]:FindFirstChild("Stand Torso").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  752. do
  753. if partoz.Anchored then return end
  754. local humz = guy:FindFirstChild("Humanoid")
  755. local horp = guy:FindFirstChild("HumanoidRootPart")
  756. damageevent3:FireServer(humz, partcfr, dmg, debtime, bodyfdire, grow, sound, pitch, volume)
  757. knockevent:FireServer(humz)
  758. local db = Instance.new("StringValue")
  759. db.Name = "alabo"
  760. db.Parent = horp
  761. delay(debtim, function()
  762. db:Destroy()
  763. end)
  764. end
  765. end
  766.  
  767. end
  768. end
  769.  
  770. function hito5(partoz, magn, dmg, debtim, debtime, bodyfdire)
  771. for _, guy in pairs(workspace:GetChildren()) do
  772. if partoz.Anchored == true then return end
  773. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  774. do
  775. if partoz.Anchored then return end
  776. local humz = guy:FindFirstChild("Humanoid")
  777. local horp = guy:FindFirstChild("HumanoidRootPart")
  778. damageevent4:FireServer(humz, dmg, debtime, bodyfdire)
  779. knockevent:FireServer(humz)
  780. local db = Instance.new("StringValue")
  781. db.Name = "alabo"
  782. db.Parent = horp
  783. delay(debtim, function()
  784. db:Destroy()
  785. end)
  786. end
  787. end
  788.  
  789. if guy:FindFirstChild("Stand") and guy["Stand"]:FindFirstChild("Stand Torso") and guy ~= chr and guy ~= chr[stand.Name] and magn > (guy["Stand"]:FindFirstChild("Stand Torso").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  790. do
  791. if partoz.Anchored then return end
  792. local humz = guy:FindFirstChild("Humanoid")
  793. local horp = guy:FindFirstChild("HumanoidRootPart")
  794. damageevent4:FireServer(humz, dmg, debtime, bodyfdire)
  795. knockevent:FireServer(humz)
  796. local db = Instance.new("StringValue")
  797. db.Name = "alabo"
  798. db.Parent = horp
  799. delay(debtim, function()
  800. db:Destroy()
  801. end)
  802. end
  803. end
  804.  
  805. end
  806. end
  807.  
  808. function healo(partoz, partcfr, magn, dmg, debtim, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
  809. if disabled.Value == true then return end
  810. for _, guy in pairs(workspace:GetChildren()) do
  811. if partoz.Anchored == true then return end
  812. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  813. do
  814. if partoz.Anchored then return end
  815. local humz = guy:FindFirstChild("Humanoid")
  816. local horp = guy:FindFirstChild("HumanoidRootPart")
  817. healevent2:FireServer(humz, partcfr, dmg, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
  818. local db = Instance.new("StringValue")
  819. db.Name = "alabo"
  820. db.Parent = horp
  821. delay(debtim, function()
  822. db:Destroy()
  823. end)
  824. end
  825. end
  826.  
  827. if guy:FindFirstChild("Stand") and guy["Stand"]:FindFirstChild("Stand Torso") and guy ~= chr and guy ~= chr[stand.Name] and magn > (guy["Stand"]:FindFirstChild("Stand Torso").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  828. do
  829. if partoz.Anchored then return end
  830. local humz = guy:FindFirstChild("Humanoid")
  831. local horp = guy:FindFirstChild("HumanoidRootPart")
  832. healevent2:FireServer(humz, partcfr, dmg, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
  833. local db = Instance.new("StringValue")
  834. db.Name = "alabo"
  835. db.Parent = horp
  836. delay(debtim, function()
  837. db:Destroy()
  838. end)
  839. end
  840. end
  841.  
  842. end
  843. end
  844.  
  845. function heal(partcfr, heal, sound, pitch, volume)
  846. if ntorso.Anchored == true then return end
  847. healevent:FireServer(partcfr, heal, sound, pitch, volume)
  848. end
  849. game.Lighting.TS.Changed:Connect(function()
  850. if game.Lighting.TS.Value == true then
  851. if timestopping == true then return end
  852. anchorevent:FireServer(tors ,true)
  853. anchorevent:FireServer(rarm ,true)
  854. anchorevent:FireServer(larm ,true)
  855. anchorevent:FireServer(rleg ,true)
  856. anchorevent:FireServer(lleg ,true)
  857. anchorevent:FireServer(hed ,true)
  858. anchorevent:FireServer(ntorso ,true)
  859. anchorevent:FireServer(rightarm ,true)
  860. anchorevent:FireServer(leftarm ,true)
  861. anchorevent:FireServer(rightleg ,true)
  862. anchorevent:FireServer(leftleg ,true)
  863. anchorevent:FireServer(head ,true)
  864.  
  865. elseif game.Lighting.TS.Value == false then
  866. anchorevent:FireServer(tors ,false)
  867. anchorevent:FireServer(rarm ,false)
  868. anchorevent:FireServer(larm ,false)
  869. anchorevent:FireServer(rleg ,false)
  870. anchorevent:FireServer(lleg ,false)
  871. anchorevent:FireServer(hed ,false)
  872. anchorevent:FireServer(ntorso ,false)
  873. anchorevent:FireServer(rightarm ,false)
  874. anchorevent:FireServer(leftarm ,false)
  875. anchorevent:FireServer(rightleg ,false)
  876. anchorevent:FireServer(leftleg ,false)
  877. anchorevent:FireServer(head ,false)
  878. end
  879. end)
  880.  
  881. if game.Lighting.TS.Value == true then
  882. anchorevent:FireServer(tors ,true)
  883. anchorevent:FireServer(rarm ,true)
  884. anchorevent:FireServer(larm ,true)
  885. anchorevent:FireServer(rleg ,true)
  886. anchorevent:FireServer(lleg ,true)
  887. anchorevent:FireServer(hed ,true)
  888.  
  889. anchorevent:FireServer(ntorso ,true)
  890. anchorevent:FireServer(rightarm ,true)
  891. anchorevent:FireServer(leftarm ,true)
  892. anchorevent:FireServer(rightleg ,true)
  893. anchorevent:FireServer(leftleg ,true)
  894. anchorevent:FireServer(head ,true)
  895. end
  896.  
  897. berserkclientevent.OnClientEvent:connect(function()
  898. game.Lighting.Ambient = Color3.fromRGB(0, 0, 122)
  899. game.Lighting.Berserk.Enabled = true
  900. human.WalkSpeed = 4
  901. human:SetStateEnabled(3, false)
  902. wait(2.5)
  903. human.WalkSpeed = 16
  904. human:SetStateEnabled(3, true)
  905. game.Lighting.Ambient = Color3.fromRGB(150, 150, 150)
  906. game.Lighting.Berserk.Enabled = false
  907. end)
  908.  
  909. local deathevent = replicatedstorage.Death
  910. human.HealthChanged:connect(function()
  911. if human.Health < 1 then
  912. for _, n in pairs(stand:GetChildren()) do
  913. coroutine.resume(coroutine.create(function()
  914. for _ = 1, 5 do
  915. if n ~= rot and n.ClassName ~= "Sound" then
  916. wait()
  917. transparencyevent:FireServer(n, n.Transparency + 0.2)
  918. transparencyevent:FireServer(face, n.Transparency + 0.2)
  919. end
  920. end
  921. if n ~= rot then
  922. transparencyevent:FireServer(n, 1)
  923. transparencyevent:FireServer(face, 1)
  924. end
  925. end))
  926. end
  927. human:SetStateEnabled(3, false)
  928. human:SetStateEnabled(15, false)
  929. diesfx:Play()
  930. deathevent:FireServer(false)
  931. end
  932. end)
  933.  
  934. knockclientevent.OnClientEvent:connect(function(enemyplr)
  935. if chr.Block.Value == true then return end
  936. knockedevent:FireServer()
  937. human:SetStateEnabled(3, false)
  938. wait(1.25)
  939. if human.Health >= 1 then
  940. getupevent:FireServer()
  941. human:SetStateEnabled(3, true)
  942. end
  943. end)
  944.  
  945. tauntevent.OnClientEvent:Connect(function()
  946. tauntcd = false
  947. end)
  948.  
  949. wait(60)
  950. timestopcooldown = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement