Advertisement
Christoffer07700Extr

ABD Oni Script

Sep 7th, 2020
2,261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.62 KB | None | 0 0
  1. local mystand = nil
  2. for i,v in pairs(game:GetService("Lighting"):GetChildren())do
  3. for i,v2 in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren())do
  4. if v:IsA("LocalScript") and v2:IsA("LocalScript") then
  5. if v.Name == v2.Name then
  6. mystand = v2.Name
  7. end
  8. end
  9. end
  10. end
  11.  
  12. game.Players.LocalPlayer.Character[mystand]:Destroy()
  13.  
  14. --Events
  15. --NOTES THIS SPEC IS NOT BY ME IM TRYING TO MAKE ONI NORMAL THE OWNER OF THIS SCRIPT IS BY DREAMFIGHTENER DO NOT SAY THIS IS BY ME PLEASE IS BY THE ORINGEL OWNER NOT ME GOT IT? OK YOU CAN CONTINUE NOW
  16. local replicatedstorage = game:GetService("ReplicatedStorage")
  17. local damageevent = replicatedstorage.Damage
  18. local damageevent2 = replicatedstorage.BurnDamage
  19. local blockevent = replicatedstorage.Block
  20. local donutevent = replicatedstorage.FOTPSDamageTeleport
  21. local timestopevent = replicatedstorage.Timestop
  22. local transparencyevent = replicatedstorage.Transparency
  23. local strongpunchevent = replicatedstorage.PlayerStrongPunch2
  24. local dodgeevent = replicatedstorage.Dodge
  25. local dodgeevent2 = replicatedstorage.Dodge2
  26. local anchorevent = replicatedstorage.Anchor
  27. local trailevent = replicatedstorage.Trail
  28. local starfingerevent = replicatedstorage.StarFinger
  29. local iggyevent = replicatedstorage.Iggy
  30. local jumpevent = replicatedstorage.Jump
  31. local velocityevent = replicatedstorage.Velocity
  32. local poseevent = replicatedstorage.Menacing
  33. local knockevent = replicatedstorage.Knock
  34. local knockclientevent = replicatedstorage.KnockClient
  35. local knockedevent = replicatedstorage.Knocked
  36. local getupevent = replicatedstorage.GetUp
  37. local berserkclientevent = replicatedstorage.BerserkClient
  38. local tauntevent = replicatedstorage.Taunt
  39. local jumpevent = replicatedstorage.Jump2
  40.  
  41. local plr = game:GetService("Players").LocalPlayer
  42. repeat
  43. wait()
  44. until plr.Character and plr.Character.Humanoid
  45. local chr = plr.Character
  46. local human = chr.Humanoid
  47. local hrp = chr.HumanoidRootPart
  48. mouse = plr:GetMouse()
  49. cam = workspace.CurrentCamera
  50.  
  51. --standevent:FireServer()
  52. human.WalkSpeed = 16
  53. human.JumpPower = 50
  54.  
  55. --Values
  56. local activu = false
  57.  
  58. local head = chr["Head"]
  59. local ntorso = chr["Torso"]
  60. local rightarm = chr["Right Arm"]
  61. local leftarm = chr["Left Arm"]
  62. local rightleg = chr["Right Leg"]
  63. local leftleg = chr["Left Leg"]
  64. local rot = chr["HumanoidRootPart"]
  65.  
  66. function makemotor(parent, p0, p1, c0, c1)
  67. local wel = Instance.new("Motor6D")
  68. wel.Part0 = p0
  69. wel.Part1 = p1
  70. if c0 ~= nil then
  71. wel.C0 = c0
  72. end
  73. if c1 ~= nil then
  74. wel.C1 = c1
  75. end
  76. wel.Parent = parent
  77. return wel
  78. end
  79.  
  80. local stand = chr:WaitForChild("Stand")
  81. local disabled = Instance.new("BoolValue",chr)
  82. disabled.Value = false
  83.  
  84. --Animation
  85. local anim1 = Instance.new("Animation") -- roll or dash
  86. anim1.AnimationId = "rbxassetid://3446222065"
  87.  
  88. local anim6 = Instance.new("Animation") -- axe kick
  89. anim6.AnimationId = "rbxassetid://3445853933"
  90.  
  91. local anim7 = Instance.new("Animation") -- barrage
  92. anim7.AnimationId = "rbxassetid://3445788051"
  93.  
  94. local anim4 = Instance.new("Animation") -- right punch
  95. anim4.AnimationId = "rbxassetid://3445790486"
  96.  
  97. local anim5 = Instance.new("Animation") -- left punch
  98. anim5.AnimationId = "rbxassetid://3445791481"
  99.  
  100. local anim3 = Instance.new("Animation") -- strong punch
  101. anim3.AnimationId = "rbxassetid://3445851410"
  102.  
  103. local anim2 = Instance.new("Animation") -- block
  104. anim2.AnimationId = "rbxassetid://3445824199"
  105.  
  106. local Pose1 = Instance.new("Animation") -- pose
  107. Pose1.AnimationId = "rbxassetid://3867480529"
  108.  
  109. local anim8 = Instance.new("Animation") -- kick
  110. anim8.AnimationId = "rbxassetid://3445855469"
  111.  
  112. local anim9 = Instance.new("Animation") -- flip
  113. anim9.AnimationId = "rbxassetid://3445856941"
  114.  
  115. local barrageanim = human:LoadAnimation(anim7)
  116. local strongpunchanim = human:LoadAnimation(anim3)
  117. local rightpunchanim = human:LoadAnimation(anim4)
  118. local leftpunchanim = human:LoadAnimation(anim5)
  119. local rollanim = human:LoadAnimation(anim1)
  120. local axekickanim = human:LoadAnimation(anim6)
  121. local blockanim = human:LoadAnimation(anim2)
  122. local pose1 = human:LoadAnimation(Pose1)
  123. local pose2 = human:LoadAnimation(Pose1)
  124. local kickanim = human:LoadAnimation(anim8)
  125. local flipanim = human:LoadAnimation(anim9)
  126.  
  127. pose1.Looped = true
  128. pose1.Priority = "Idle"
  129. pose2.Looped = true
  130. pose2.Priority = "Idle"
  131.  
  132. --Sound
  133. local dodgesfx
  134.  
  135. if ntorso:FindFirstChild"Dodge" then
  136. dodgesfx = ntorso.Dodge
  137. dodgesfx.SoundId = "rbxassetid://1145251796"
  138. else
  139. dodgesfx = Instance.new("Sound",chr)
  140. dodgesfx.SoundId = "rbxassetid://1145251796"
  141. dodgesfx.Volume = 5
  142. end
  143.  
  144. local punchsfx
  145. if ntorso:FindFirstChild"Swing" then
  146. punchsfx = ntorso.Swing
  147. punchsfx.SoundId = "rbxassetid://200632136"
  148. else
  149. punchsfx = Instance.new("Sound",chr)
  150. punchsfx.SoundId = "rbxassetid://200632136"
  151. punchsfx.Volume = 2.5
  152. end
  153. local heavypunchsfx
  154. if ntorso:FindFirstChild"HeavyPunch" then
  155. heavypunchsfx = ntorso.HeavyPunch
  156. heavypunchsfx.SoundId = "rbxassetid://2440670891"
  157. else
  158. heavypunchsfx = Instance.new("Sound",chr)
  159. heavypunchsfx.SoundId = "rbxassetid://2440670891"
  160. heavypunchsfx.Volume = 5
  161. end
  162.  
  163. local rushsfx
  164. if ntorso:FindFirstChild"Rush" then
  165. rushsfx = ntorso.Rush
  166. rushsfx.SoundId = "rbxassetid://130767866"
  167. else
  168. rushsfx = Instance.new("Sound",chr)
  169. rushsfx.SoundId = "rbxassetid://130767866"
  170. rushsfx.Volume = 5
  171. end
  172.  
  173. local blocksfx = dodgesfx
  174.  
  175. function block()
  176. if activu == true then return end
  177. activu = true
  178. local bep = true
  179. local de = mouse.KeyUp:connect(function(key)
  180. if key == "x" then
  181. bep = false
  182. end
  183. end)
  184. blockanim:Play(0.1, 1,1)
  185. blockevent:FireServer(true)
  186. game.ReplicatedStorage.Deflect:FireServer(true)
  187. --blocksfx:Play()
  188. human.WalkSpeed = 0
  189. human.JumpPower = 0
  190. repeat
  191. wait()
  192. until bep == false
  193. blockevent:FireServer(false)
  194. game.ReplicatedStorage.Deflect:FireServer(false)
  195. blockanim:Stop(0.1)
  196. human.WalkSpeed = 16
  197. human.JumpPower = 50
  198. activu = false
  199. end
  200.  
  201. local posing = false
  202. local appeared = true
  203. function posefunc()
  204. if activu == false and posing == false then
  205. if appeared == false then
  206. return
  207. end
  208. if posing == false then do
  209. activu = true
  210. posing = true
  211. local cp = math.random(1, 2)
  212. if cp == 1 then
  213. pose1:Play(0.1, 1, 1)
  214. elseif cp == 2 then
  215. pose2:Play(0.1, 1, 1)
  216. end
  217. human.WalkSpeed = 0
  218. human.JumpPower = 0
  219. poseevent:FireServer(true)
  220. end
  221. end
  222. elseif posing == true then
  223. pose1:Stop(0.3)
  224. pose2:Stop(0.3)
  225. if disabled.Value == false then
  226. human.WalkSpeed = 16
  227. human.JumpPower = 50
  228. elseif disabled.Value == true then
  229. human.WalkSpeed = 4
  230. human.JumpPower = 10
  231. end
  232. activu = false
  233. posing = false
  234. poseevent:FireServer(false)
  235. end
  236. end
  237.  
  238. local tauntcd = false
  239. function taunt() -- you can change the taunt go to a abd leak and search a taunt put the id
  240. if tauntcd == true then return end
  241. tauntcd = true
  242. local randomline = math.random(1, 5)
  243. if randomline == 1 then -- only one taunt atm
  244. tauntevent:FireServer(head, "rbxassetid://3581207647", 3, 16.95, 0)
  245. elseif randomline == 2 then
  246. tauntevent:FireServer(head, "rbxassetid://3249080921", 3, 11.42, 0)
  247. elseif randomline == 3 then
  248. tauntevent:FireServer(head, "rbxassetid://2740829879", 3, 13.1, 0)
  249. elseif randomline == 4 then
  250. tauntevent:FireServer(head,"rbxassetid://3249105512", 3, 110.75, 0)
  251. elseif randomline == 5 then
  252. tauntevent:FireServer(head, "rbxassetid://145799973", 10000,15, 0)
  253. end
  254. tauntcd = false
  255. end
  256.  
  257. local leftorright = false
  258. function punch()
  259. if activu == true then return end
  260. activu = true
  261. --punchsfx:Play()
  262. human.JumpPower = 0
  263. if leftorright == false then
  264. leftorright = true
  265. rightpunchanim:Play(0.1, 1, 1)
  266. --trailevent:FireServer(stand.StandRarm.Trail, true)
  267. wait(0.2)
  268. coroutine.resume(coroutine.create(function()
  269. for _ = 1, 5 do
  270. wait()
  271. hito(rightarm, rightarm.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, 0.5, 0.5, 0.25, hrp.CFrame.lookVector * 10, "rbxassetid://241837157", 0.075, Color3.new(255, 0, 0),"rbxassetid://260430079", math.random(9, 11) / 10, 2)
  272. end
  273. end))
  274. elseif leftorright == true then
  275. leftorright = false
  276. leftpunchanim:Play(0.1, 1, 1)
  277. --trailevent:FireServer(stand.StandLarm.Trail, true)
  278. wait(0.2)
  279. coroutine.resume(coroutine.create(function()
  280. for _ = 1, 5 do
  281. wait()
  282. hito(leftarm, leftarm.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, 0.5, 0.5, 0.25, hrp.CFrame.lookVector * 10, "rbxassetid://241837157", 0.075, Color3.new(255, 0, 0),"rbxassetid://260430079", math.random(9, 11) / 10, 2)
  283. end
  284. end))
  285. end
  286. wait(0.3)
  287. human.JumpPower = 50
  288. activu = false
  289. --trailevent:FireServer(stand.StandRarm.Trail, false)
  290. --trailevent:FireServer(stand.StandLarm.Trail, false)
  291. end
  292.  
  293. local EHMMM = 0
  294. local barragecooldown = false
  295. function barrage()
  296. if activu == true then return end
  297. if barragecooldown == true then return end
  298. activu = true
  299. barragecooldown = true
  300. local bep = true
  301. local de = mouse.KeyUp:connect(function(key)
  302. if key == "q" then
  303. bep = false
  304. end
  305. end)
  306. barrageanim:Play(0.1, 1, 1.5)
  307. --rushsfx:Play()
  308. repeat
  309. EHMMM = EHMMM + 1
  310. --game.ReplicatedStorage.ClonePart:FireServer("FRArm",rightarm,rightarm.BrickColor)
  311. --game.ReplicatedStorage.ClonePart:FireServer("FLArm",leftarm,leftarm.BrickColor)
  312. hito3(rightarm, rightarm.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, 4, 0.05, 0.25, hrp.CFrame.lookVector * 5, "rbxassetid://241837157", 0.075, Color3.fromRGB(177, 85, 255),"rbxassetid://542443306", math.random(9, 11) / 10, math.random(9, 11) / 20)
  313. hito3(leftarm, leftarm.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, 4, 0.05, 0.25, hrp.CFrame.lookVector * 5, "rbxassetid://241837157", 0.075, Color3.fromRGB(177, 85, 255),"rbxassetid://542443306", math.random(9, 11) / 10, math.random(9, 11) / 20)
  314. wait(0.1)
  315. until bep == false or disabled.Value == true or EHMMM >= 50
  316. --rushsfx:Stop()
  317. barrageanim:Stop(0.1)
  318. activu = false
  319. EHMMM = 0
  320. wait(7.5) -- cooldown
  321. barragecooldown = false
  322. end
  323.  
  324. strongpunchcooldown = false
  325. function strongpunch()
  326. if activu == true then return end
  327. if dodgecooldown == true then return end
  328. activu = true
  329. strongpunchcooldown = true
  330. strongpunchanim:Play(0.1, 1,1)
  331. --dodgesfx:Play()
  332. human.JumpPower = 0
  333. local boopyve = Instance.new("BodyVelocity")
  334. boopyve.MaxForce = Vector3.new(100000, 0, 100000)
  335. boopyve.P = math.huge
  336. boopyve.Velocity = hrp.CFrame.lookVector * 17.5
  337. boopyve.Parent = chr.HumanoidRootPart
  338. game.Debris:AddItem(boopyve, 0.5)
  339. coroutine.resume(coroutine.create(function()
  340. repeat
  341. wait()
  342. boopyve.Velocity = hrp.CFrame.lookVector * 17.5
  343. until bep == false
  344. end))
  345. wait(0.15)
  346. coroutine.resume(coroutine.create(function()
  347. for _ = 1, 7.5 do
  348. wait()
  349. hito(rightarm, rightarm.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)) ,5, 5, 0.375, 0.25, hrp.CFrame.lookVector * 5, "rbxassetid://241837157", 0.1, Color3.new(255, 0, 0),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 10)
  350. end
  351. end))
  352. wait(0.35)
  353. strongpunchevent:FireServer(Vector3.new(1, 0.5, 1), Vector3.new(0.3, 0.15, 0.3), BrickColor.new("Crimson"))
  354. coroutine.resume(coroutine.create(function()
  355. for _ = 1, 7.5 do
  356. wait()
  357. hito2(rightarm, rightarm.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)) ,7.5, 10, 0.375, 0.25, hrp.CFrame.lookVector * 62.5 + Vector3.new(0,37.5,0), "rbxassetid://241837157", 0.15, Color3.new(255, 0, 0),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 10)
  358. end
  359. end))
  360. wait(0.5)
  361. activu = false
  362. human.JumpPower = 50
  363. wait(7.5) -- cooldown
  364. strongpunchcooldown = false
  365. end
  366.  
  367. local kickcooldown = false
  368. function kick()
  369. if activu == true then return end
  370. if kickcooldown == true then return end
  371. activu = true
  372. kickcooldown = true
  373. --trailevent:FireServer(stand.StandRarm.Trail, true)
  374. kickanim:Play(0.1, 1, 1)
  375. --heavypunchsfx:Play()
  376. human.JumpPower = 0
  377. wait(0.4)
  378. --punchsfx:Play()
  379. coroutine.resume(coroutine.create(function()
  380. for _ = 1, 15 do
  381. wait()
  382. hito2(rightleg, rightleg.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)) ,5, 7.5, 0.6, 0.25, hrp.CFrame.lookVector * 5, "rbxassetid://241837157", 0.1, Color3.new(255, 0, 0),"rbxassetid://386946017", math.random(9, 11) / 10, math.random(9, 11) / 10)
  383. end
  384. end))
  385. wait(0.25)
  386. --trailevent:FireServer(stand.StandRarm.Trail, false)
  387. human.JumpPower = 50
  388. activu = false
  389. wait(7.5)
  390. kickcooldown = false
  391. end
  392.  
  393. local axekickcooldown = false
  394. function axekick()
  395. if activu == true then return end
  396. if axekickcooldown == true then return end
  397. activu = true
  398. axekickcooldown = true
  399. --trailevent:FireServer(stand.StandRarm.Trail, true)
  400. axekickanim:Play(0.1, 1, 1)
  401. --heavypunchsfx:Play()
  402. human.JumpPower = 0
  403. human.WalkSpeed = 0
  404. wait(0.35)
  405. --punchsfx:Play()
  406. jumpevent:FireServer(BrickColor.new("Crimson"))
  407. coroutine.resume(coroutine.create(function()
  408. for _ = 1, 10 do
  409. wait()
  410. hito2(rot, rot.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)) ,12.5, 17.5, 0.4, 0.25, hrp.CFrame.lookVector * 82.5, "rbxassetid://241837157", 0.25, Color3.new(255, 0, 0),"rbxassetid://260430079", math.random(9, 11) / 10, math.random(9, 11) / 10)
  411. end
  412. end))
  413. wait(0.25)
  414. --trailevent:FireServer(stand.StandRarm.Trail, false)
  415. human.JumpPower = 50
  416. human.WalkSpeed = 16
  417. activu = false
  418. wait(7.5)
  419. axekickcooldown = false
  420. end
  421.  
  422. local donutcooldown = false
  423. function donut()
  424. if activu == true then return end
  425. if donutcooldown == true then return end
  426. if mouse.Target and mouse.Target.Parent:FindFirstChild("Humanoid") then
  427. local horp = mouse.Target.Parent:FindFirstChild("HumanoidRootPart")
  428. local magnitude = (horp.Position - hrp.Position).magnitude
  429. donutcooldown = true
  430. local char = mouse.Target.Parent
  431. donutevent:FireServer(char, 99999999)
  432. wait(.1)
  433. wait() -- cooldown
  434. donutcooldown = false
  435. end
  436. end
  437.  
  438. dodgecooldown = false
  439. function dodge()
  440. if activu == true then return end
  441. if dodgecooldown == true then return end
  442. activu = true
  443. dodgecooldown = true
  444. rollanim:Play(0.1, 1,1)
  445. --dodgesfx:Play()
  446. human.JumpPower = 0
  447. dodgeevent:FireServer()
  448. local boopyve = Instance.new("BodyVelocity")
  449. boopyve.MaxForce = Vector3.new(100000, 100000, 100000)
  450. boopyve.P = math.huge
  451. boopyve.Velocity = hrp.CFrame.lookVector * 37.5
  452. boopyve.Parent = chr.HumanoidRootPart
  453. game.Debris:AddItem(boopyve, 0.5)
  454. wait(0.4)
  455. activu = false
  456. human.JumpPower = 50
  457. rollanim:Stop()
  458. wait(0.6) -- cooldown
  459. dodgecooldown = false
  460. end
  461.  
  462. local flipcooldown = false
  463. local EHMM = 0
  464. function flip()
  465. if disabled.Value == true then return end
  466. if disabled == true then return end
  467. if activu == true then return end
  468. if flipcooldown == true then return end
  469. activu = true
  470. movementcooldown = true
  471. flipanim:Play()
  472. local bep = true
  473. local de = mouse.KeyUp:connect(function(key)
  474. if key == "t" then
  475. bep = false
  476. end
  477. end)
  478. local boopyve = Instance.new("BodyVelocity")
  479. boopyve.MaxForce = Vector3.new(100000, 100000, 100000)
  480. boopyve.P = math.huge
  481. boopyve.Velocity = hrp.CFrame.lookVector * 32.5
  482. boopyve.Parent = chr.HumanoidRootPart
  483. repeat
  484. wait()
  485. EHMM = EHMM + 1
  486. boopyve.Velocity = hrp.CFrame.lookVector * 32.5
  487. hito(rightleg, rightleg.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)) ,5, 0.01, 0.005, 0.25, hrp.CFrame.lookVector * 5, "rbxassetid://241837157", 0.075, Color3.new(255, 0, 0),"rbxassetid://386946017", math.random(9, 11) / 10, math.random(9, 11) / 10)
  488. until bep == false or EHMM >= 27.5
  489. boopyve:Destroy()
  490. activu = false
  491. flipanim:Stop()
  492. EHMM = 0
  493. wait(7.5)
  494. flipcooldown = false
  495. end
  496.  
  497. mouse.Button1Down:connect(function()
  498. if ntorso.Anchored == true then return end
  499. if disabled.Value == true then return end
  500. punch()
  501. end)
  502. mouse.KeyDown:connect(function(key)
  503. if ntorso.Anchored == true then return end
  504. if disabled.Value == true then return end
  505. if key == "e" then
  506. kick()
  507. end
  508. if key == "r" then
  509. strongpunch()
  510. end
  511. if key == "t" then
  512. flip()
  513. end
  514. if key == "y" then
  515. axekick()
  516. end
  517. if key == "x" then
  518. block()
  519. end
  520. if key == "c" then
  521. dodge()
  522. end
  523. if key == "g" then
  524. posefunc()
  525. end
  526. if key == "n" then
  527. taunt()
  528. end
  529. end)
  530.  
  531.  
  532. function hito3(partoz, partcfr, magn, dmg, debtim, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
  533. for _, guy in pairs(workspace.Entities:GetChildren()) do
  534. if partoz.Anchored == true then return end
  535. 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
  536. do
  537. if partoz.Anchored then return end
  538. local humz = guy:FindFirstChild("Humanoid")
  539. local horp = guy:FindFirstChild("HumanoidRootPart")
  540. damageevent:FireServer(humz, partcfr, dmg, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
  541. local db = Instance.new("StringValue")
  542. db.Name = "alabo"
  543. db.Parent = horp
  544. delay(debtim, function()
  545. db:Destroy()
  546. end)
  547. end
  548. end
  549.  
  550. 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
  551. do
  552. if partoz.Anchored then return end
  553. local humz = guy:FindFirstChild("Humanoid")
  554. local horp = guy:FindFirstChild("HumanoidRootPart")
  555. local humz = chr.Humanoid
  556. damageevent:FireServer(humz, partcfr, dmg, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
  557. local db = Instance.new("StringValue")
  558. db.Name = "alabo"
  559. db.Parent = horp
  560. delay(debtim, function()
  561. db:Destroy()
  562. end)
  563. end
  564. end
  565.  
  566. end
  567. end
  568.  
  569. function hito(partoz, partcfr, magn, dmg, debtim, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
  570. for _, guy in pairs(workspace.Entities:GetChildren()) do
  571. if partoz.Anchored == true then return end
  572. 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
  573. do
  574. if partoz.Anchored then return end
  575. local humz = guy:FindFirstChild("Humanoid")
  576. local horp = guy:FindFirstChild("HumanoidRootPart")
  577. damageevent2:FireServer(humz, partcfr, dmg, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
  578. local db = Instance.new("StringValue")
  579. db.Name = "alabo"
  580. db.Parent = horp
  581. delay(debtim, function()
  582. db:Destroy()
  583. end)
  584. end
  585. end
  586.  
  587. 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
  588. do
  589. if partoz.Anchored then return end
  590. local humz = guy:FindFirstChild("Humanoid")
  591. local horp = guy:FindFirstChild("HumanoidRootPart")
  592. local humz = chr.Humanoid
  593. damageevent2:FireServer(humz, partcfr, dmg, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
  594. local db = Instance.new("StringValue")
  595. db.Name = "alabo"
  596. db.Parent = horp
  597. delay(debtim, function()
  598. db:Destroy()
  599. end)
  600. end
  601. end
  602.  
  603. end
  604. end
  605. function hito2(partoz, partcfr, magn, dmg, debtim, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
  606. for _, guy in pairs(workspace.Entities:GetChildren()) do
  607. if partoz.Anchored == true then return end
  608. 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
  609. do
  610. if partoz.Anchored then return end
  611. local humz = guy:FindFirstChild("Humanoid")
  612. local horp = guy:FindFirstChild("HumanoidRootPart")
  613. for a =1,3 do
  614. damageevent2:FireServer(humz, partcfr, dmg, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
  615. end
  616. knockevent:FireServer(humz)
  617. local db = Instance.new("StringValue")
  618. db.Name = "alabo"
  619. db.Parent = horp
  620. delay(debtim, function()
  621. db:Destroy()
  622. end)
  623. end
  624. end
  625.  
  626. 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
  627. do
  628. if partoz.Anchored then return end
  629. local humz = guy:FindFirstChild("Humanoid")
  630. local horp = guy:FindFirstChild("HumanoidRootPart")
  631. damageevent2:FireServer(humz, partcfr, dmg, debtime, bodyfdire, effect, grow, color, sound, pitch, volume)
  632. knockevent:FireServer(humz)
  633. local db = Instance.new("StringValue")
  634. db.Name = "alabo"
  635. db.Parent = horp
  636. delay(debtim, function()
  637. db:Destroy()
  638. end)
  639. end
  640. end
  641.  
  642. end
  643. end
  644. game.Lighting.TS.Changed:Connect(function()
  645. if game.Lighting.TS.Value == true then
  646. wait()
  647. anchorevent:FireServer(ntorso ,false)
  648. anchorevent:FireServer(rightarm ,false)
  649. anchorevent:FireServer(leftarm ,false)
  650. anchorevent:FireServer(rightleg ,false)
  651. anchorevent:FireServer(leftleg ,false)
  652. anchorevent:FireServer(head ,false)
  653.  
  654. elseif game.Lighting.TS.Value == false then
  655. anchorevent:FireServer(ntorso ,false)
  656. anchorevent:FireServer(rightarm ,false)
  657. anchorevent:FireServer(leftarm ,false)
  658. anchorevent:FireServer(rightleg ,false)
  659. anchorevent:FireServer(leftleg ,false)
  660. anchorevent:FireServer(head ,false)
  661. end
  662. end)
  663.  
  664. if game.Lighting.TS.Value == true then
  665. anchorevent:FireServer(ntorso ,false)
  666. anchorevent:FireServer(rightarm ,false)
  667. anchorevent:FireServer(leftarm ,false)
  668. anchorevent:FireServer(rightleg ,false)
  669. anchorevent:FireServer(leftleg ,false)
  670. anchorevent:FireServer(head ,false)
  671. end
  672.  
  673. berserkclientevent.OnClientEvent:connect(function()
  674. game.Lighting.Ambient = Color3.fromRGB(0, 0, 122)
  675. game.Lighting.Berserk.Enabled = true
  676. human.WalkSpeed = 30
  677. human:SetStateEnabled(3, false)
  678. wait(0.1)
  679. human.WalkSpeed = 30
  680. human:SetStateEnabled(3, true)
  681. game.Lighting.Ambient = Color3.fromRGB(150, 150, 150)
  682. game.Lighting.Berserk.Enabled = false
  683. end)
  684.  
  685. local deathevent = replicatedstorage.Death
  686. human.HealthChanged:connect(function()
  687. if human.Health < 1 then
  688. human:SetStateEnabled(3, false)
  689. human:SetStateEnabled(15, false)
  690. disabled.Value = true
  691. deathevent:FireServer(false)
  692. end
  693. end)
  694.  
  695. knockclientevent.OnClientEvent:connect(function(enemyplr)
  696. if chr.Block.Value == false then return end
  697. knockedevent:FireServer()
  698. human:SetStateEnabled(3, false)
  699. wait(1.25)
  700. if human.Health >= 1 then
  701. getupevent:FireServer()
  702. human:SetStateEnabled(3, true)
  703. end
  704. end)
  705.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement