Advertisement
mathmasterphil

Wind Bo Staff

Feb 22nd, 2015
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.73 KB | None | 0 0
  1. ---that is my annoying staff i edited sound,damage and color--------------------------------------------------------------------------------------------------------------Staff V.2.0 --------------------------------------------------------------------------------------------------------------------------------------------------
  2. Plrs = game:GetService("Players")
  3. me = Plrs.LocalPlayer
  4. char = me.Character
  5. Modelname = "BoStaff"
  6. Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
  7. necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  8. able = true
  9. block = false
  10. breakblock = 10
  11. holdkey = false
  12. effectOn = false
  13. local Ball1 = Instance.new("Part")
  14. Ball1.Parent = char
  15. Ball1.Name = "Ball1"
  16. Ball1.CanCollide = false
  17. Ball1.Locked = true
  18. Ball1.TopSurface = "Smooth"
  19. Ball1.BottomSurface = "Smooth"
  20. Ball1.formFactor = "Symmetric"
  21. Ball1.BrickColor = BrickColor.new("Really black")
  22. Ball1.CFrame = char.Torso.CFrame
  23. Ball1.Transparency = 0
  24. Ball1.Reflectance = 0.1
  25. Ball1.Size = Vector3.new(1, 1, 1)
  26. b1Weld = Instance.new("Weld")
  27. b1Weld.Parent = char.Torso
  28. b1Weld.Part0 = char.Torso
  29. b1Weld.Part1 = Ball1
  30. b1Weld.Name = "TorsoWeld1"
  31. b1Weld.C0 = CFrame.new(-1.5, 1.5, 0.5)
  32. Ball1Mesh = Instance.new("SpecialMesh")
  33. Ball1Mesh.MeshType = "Sphere"
  34. Ball1Mesh.Parent = Ball1
  35. Ball1Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  36. local Ball2 = Instance.new("Part")
  37. Ball2.Parent = char
  38. Ball2.Name = "Ball2"
  39. Ball2.CanCollide = false
  40. Ball2.Locked = true
  41. Ball2.TopSurface = "Smooth"
  42. Ball2.BottomSurface = "Smooth"
  43. Ball2.formFactor = "Symmetric"
  44. Ball2.BrickColor = BrickColor.new("Gold")
  45. Ball2.CFrame = char.Torso.CFrame
  46. Ball2.Transparency = 0
  47. Ball2.Reflectance = 0.1
  48. Ball2.Size = Vector3.new(1, 1, 1)
  49. b2Weld = Instance.new("Weld")
  50. b2Weld.Parent = char.Torso
  51. b2Weld.Part0 = char.Torso
  52. b2Weld.Part1 = Ball2
  53. b2Weld.C0 = CFrame.new(1.75, -1.75, 0.5)
  54. b2Weld.Name = "TorsoWeld2"
  55. Ball2Mesh = Instance.new("SpecialMesh")
  56. Ball2Mesh.MeshType = "Sphere"
  57. Ball2Mesh.Parent = Ball2
  58. Ball2Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  59. local Staff = Instance.new("Part")
  60. Staff.Parent = char
  61. Staff.Name = "Staff"
  62. Staff.CanCollide = false
  63. Staff.Locked = true
  64. Staff.TopSurface = "Smooth"
  65. Staff.BottomSurface = "Smooth"
  66. Staff.formFactor = "Symmetric"
  67. Staff.BrickColor = BrickColor.new("Really black")
  68. Staff.CFrame = char.Torso.CFrame
  69. Staff.Transparency = 0
  70. Staff.Reflectance = 0.3
  71. Staff.Size = Vector3.new(1, 1, 1)
  72. sWeld = Instance.new("Weld")
  73. sWeld.Parent = char.Torso
  74. sWeld.Part0 = char.Torso
  75. sWeld.Part1 = Staff
  76. sWeld.C0 = CFrame.new(0, 0, 0.5) * CFrame.Angles(0, 0, 0.75)
  77. sWeld.Name = "TorsoWeld3"
  78. StaffMesh = Instance.new("CylinderMesh")
  79. StaffMesh.Parent = Staff
  80. StaffMesh.Scale = Vector3.new(0.5, 5, 0.5)
  81. ------------------------------------------------------------------------------------------------------------------------------
  82. function CreateHandWep()
  83. local Ball1 = Instance.new("Part")
  84. Ball1.Parent = char
  85. Ball1.Name = "Ball1"
  86. Ball1.CanCollide = false
  87. Ball1.Locked = true
  88. Ball1.TopSurface = "Smooth"
  89. Ball1.BottomSurface = "Smooth"
  90. Ball1.formFactor = "Symmetric"
  91. Ball1.BrickColor = BrickColor.new("Really black")
  92. Ball1.CFrame = char.Torso.CFrame
  93. Ball1.Transparency = 0
  94. Ball1.Reflectance = 0.1
  95. Ball1.Size = Vector3.new(1, 1, 1)
  96. b1Weld = Instance.new("Weld")
  97. b1Weld.Parent = char["Right Arm"]
  98. b1Weld.Part0 = char["Right Arm"]
  99. b1Weld.Part1 = Ball1
  100. b1Weld.C0 = CFrame.new(0, -1, 3)
  101. b1Weld.Name = "Grip1"
  102. Ball1Mesh = Instance.new("SpecialMesh")
  103. Ball1Mesh.MeshType = "Sphere"
  104. Ball1Mesh.Parent = Ball1
  105. Ball1Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  106. local Ball2 = Instance.new("Part")
  107. Ball2.Parent = char
  108. Ball2.Name = "Ball2"
  109. Ball2.CanCollide = false
  110. Ball2.Locked = true
  111. Ball2.TopSurface = "Smooth"
  112. Ball2.BottomSurface = "Smooth"
  113. Ball2.formFactor = "Symmetric"
  114. Ball2.BrickColor = BrickColor.new("Gold")
  115. Ball2.CFrame = char.Torso.CFrame
  116. Ball2.Transparency = 0
  117. Ball2.Reflectance = 0.1
  118. Ball2.Size = Vector3.new(1, 1, 1)
  119. b2Weld = Instance.new("Weld")
  120. b2Weld.Parent = char["Right Arm"]
  121. b2Weld.Part0 = char["Right Arm"]
  122. b2Weld.Part1 = Ball2
  123. b2Weld.C0 = CFrame.new(0, -1.2, -3)
  124. b2Weld.Name = "Grip2"
  125. Ball2Mesh = Instance.new("SpecialMesh")
  126. Ball2Mesh.MeshType = "Sphere"
  127. Ball2Mesh.Parent = Ball2
  128. Ball2Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  129. local Staff = Instance.new("Part")
  130. Staff.Parent = char
  131. Staff.Name = "Staff"
  132. Staff.CanCollide = false
  133. Staff.Locked = true
  134. Staff.TopSurface = "Smooth"
  135. Staff.BottomSurface = "Smooth"
  136. Staff.formFactor = "Symmetric"
  137. Staff.BrickColor = BrickColor.new("Really black")
  138. Staff.CFrame = char.Torso.CFrame
  139. Staff.Transparency = 0
  140. Staff.Reflectance = 0.3
  141. Staff.Size = Vector3.new(1, 1, 1)
  142. sWeld = Instance.new("Weld")
  143. sWeld.Parent = char["Right Arm"]
  144. sWeld.Part0 = char["Right Arm"]
  145. sWeld.Part1 = Staff
  146. sWeld.C0 = CFrame.new(0, -1.1, 0) * CFrame.Angles(1.5, 0, 0)
  147. sWeld.Name = "Grip3"
  148. StaffMesh = Instance.new("CylinderMesh")
  149. StaffMesh.Parent = Staff
  150. StaffMesh.Scale = Vector3.new(0.5, 5, 0.5)
  151. end
  152. function CreateBackWep()
  153. local Ball1 = Instance.new("Part")
  154. Ball1.Parent = char
  155. Ball1.Name = "Ball1"
  156. Ball1.CanCollide = false
  157. Ball1.Locked = true
  158. Ball1.TopSurface = "Smooth"
  159. Ball1.BottomSurface = "Smooth"
  160. Ball1.formFactor = "Symmetric"
  161. Ball1.BrickColor = BrickColor.new("Really black")
  162. Ball1.CFrame = char.Torso.CFrame
  163. Ball1.Transparency = 0
  164. Ball1.Reflectance = 0.1
  165. Ball1.Size = Vector3.new(1, 1, 1)
  166. b1Weld = Instance.new("Weld")
  167. b1Weld.Parent = char.Torso
  168. b1Weld.Part0 = char.Torso
  169. b1Weld.Part1 = Ball1
  170. b1Weld.Name = "TorsoWeld1"
  171. b1Weld.C0 = CFrame.new(-1.5, 1.5, 0.5)
  172. Ball1Mesh = Instance.new("SpecialMesh")
  173. Ball1Mesh.MeshType = "Sphere"
  174. Ball1Mesh.Parent = Ball1
  175. Ball1Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  176. local Ball2 = Instance.new("Part")
  177. Ball2.Parent = char
  178. Ball2.Name = "Ball2"
  179. Ball2.CanCollide = false
  180. Ball2.Locked = true
  181. Ball2.TopSurface = "Smooth"
  182. Ball2.BottomSurface = "Smooth"
  183. Ball2.formFactor = "Symmetric"
  184. Ball2.BrickColor = BrickColor.new("Gold")
  185. Ball2.CFrame = char.Torso.CFrame
  186. Ball2.Transparency = 0
  187. Ball2.Reflectance = 0.1
  188. Ball2.Size = Vector3.new(1, 1, 1)
  189. b2Weld = Instance.new("Weld")
  190. b2Weld.Parent = char.Torso
  191. b2Weld.Part0 = char.Torso
  192. b2Weld.Part1 = Ball2
  193. b2Weld.C0 = CFrame.new(1.75, -1.75, 0.5)
  194. b2Weld.Name = "TorsoWeld2"
  195. Ball2Mesh = Instance.new("SpecialMesh")
  196. Ball2Mesh.MeshType = "Sphere"
  197. Ball2Mesh.Parent = Ball2
  198. Ball2Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  199. local Staff = Instance.new("Part")
  200. Staff.Parent = char
  201. Staff.Name = "Staff"
  202. Staff.CanCollide = false
  203. Staff.Locked = true
  204. Staff.TopSurface = "Smooth"
  205. Staff.BottomSurface = "Smooth"
  206. Staff.formFactor = "Symmetric"
  207. Staff.BrickColor = BrickColor.new("Really black")
  208. Staff.CFrame = char.Torso.CFrame
  209. Staff.Transparency = 0
  210. Staff.Reflectance = 0.3
  211. Staff.Size = Vector3.new(1, 1, 1)
  212. sWeld = Instance.new("Weld")
  213. sWeld.Parent = char.Torso
  214. sWeld.Part0 = char.Torso
  215. sWeld.Part1 = Staff
  216. sWeld.C0 = CFrame.new(0, 0, 0.5) * CFrame.Angles(0, 0, 0.75)
  217. sWeld.Name = "TorsoWeld3"
  218. StaffMesh = Instance.new("CylinderMesh")
  219. StaffMesh.Parent = Staff
  220. StaffMesh.Scale = Vector3.new(0.5, 5, 0.5)
  221. end
  222. char.Humanoid.MaxHealth = 250
  223. wait()
  224. char.Humanoid.Health = 250
  225. Add = {
  226. Sphere = function(P)
  227. local m = Instance.new("SpecialMesh",P)
  228. m.MeshType = "Sphere"
  229. return m
  230. end,
  231. BF = function(P)
  232. local bf = Instance.new("BodyForce",P)
  233. bf.force = Vector3.new(0, P:GetMass()*187, 0)
  234. return bf
  235. end,
  236. BP = function(P)
  237. local bp = Instance.new("BodyPosition",P)
  238. bp.maxForce = Vector3.new(math.huge, 0, math.huge)
  239. bp.P = 14000
  240. return bp
  241. end,
  242. BG = function(P)
  243. local bg = Instance.new("BodyGyro",P)
  244. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  245. bg.P = 14000
  246. return bg
  247. end
  248. }
  249. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
  250. local p = Instance.new("Part")
  251. p.formFactor = "Custom"
  252. p.Anchored = Anchor
  253. p.CanCollide = Collide
  254. p.Transparency = Tran
  255. p.Reflectance = Ref
  256. p.BrickColor = BrickColor.new(Color)
  257. for _, Surf in pairs(Surfaces) do
  258. p[Surf] = "Smooth"
  259. end
  260. p.Size = Vector3.new(X, Y, Z)
  261. if Break then
  262. p:BreakJoints()
  263. else p:MakeJoints() end
  264. p.Parent = Parent
  265. return p
  266. end
  267. function Weld(p0, p1, x, y, z, a, b, c)
  268. local w = Instance.new("Weld")
  269. w.Parent = p0
  270. w.Part0 = p0
  271. w.Part1 = p1
  272. w.C1 = CFrame.new(x,y,z) * CFrame.Angles(a,b,c)
  273. return w
  274. end
  275. function ComputePos(pos1, pos2)
  276. local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
  277. return CFrame.new(pos1, pos3)
  278. end
  279. function getHumanoid(c)
  280. local h = nil
  281. for i,v in pairs(c:children()) do
  282. if v:IsA("Humanoid") and c ~= char then
  283. if v.Health > 0 then
  284. h = v
  285. end
  286. end
  287. end
  288. return h
  289. end
  290. function getHead(c, pos, m)
  291. local h = nil
  292. local n = nil
  293. t = c:findFirstChild("Torso")
  294. if t ~= nil then
  295. n = t:findFirstChild("Neck")
  296. end
  297. for i,v in pairs(c:children()) do
  298. if v.Name == "Head" then
  299. if (v.Position - pos).magnitude < m then
  300. h = v
  301. end
  302. end
  303. end
  304. return h, n
  305. end
  306. for i,v in pairs(char:children()) do
  307. if v.Name == Modelname then
  308. v:remove()
  309. end
  310. end
  311. torso = char.Torso
  312. head = char.Head
  313. neck = torso.Neck
  314. hum = char.Humanoid
  315. Rarm = char["Right Arm"]
  316. Larm = char["Left Arm"]
  317. Rleg = char["Right Leg"]
  318. Lleg = char["Left Leg"]
  319. RightShoulder = torso["Right Shoulder"]
  320. LeftShoulder = torso["Left Shoulder"]
  321. RightHip = torso["Right Hip"]
  322. LeftHip = torso["Left Hip"]
  323. LastHP = hum.Health
  324. function CreateTag(Attacker, VictimHumanoid)
  325. for i, v in pairs(VictimHumanoid:GetChildren()) do
  326. if v.Name == "creator" then
  327. v:Remove()
  328. end
  329. end
  330. Tag = Instance.new("ObjectValue")
  331. Tag.Parent = VictimHumanoid
  332. Tag.Name = "creator"
  333. Tag.Value = Attacker
  334. end
  335. function HpChange(newhp)
  336. if block and hum.Health > 0.1 then
  337. local dif = LastHP - newhp
  338. if dif > 0 then
  339. local h = LastHP - ((LastHP-newhp)/3)
  340. hum.Health = h
  341. wait()
  342. hum.Health = h
  343. end
  344. if dif > breakblock then
  345. block = false
  346. local a = Add.BP(torso)
  347. a.position = torso.Position
  348. local b = Add.BG(torso)
  349. b.cframe = CFrame.new(torso.Position, torso.CFrame * CFrame.new(0, 0, -5).p)
  350. wait(0.1)
  351. a:remove()
  352. b:remove()
  353. able = true
  354. end
  355. end
  356. LastHP = hum.Health
  357. end
  358. hum.HealthChanged:connect(HpChange)
  359. hc = Instance.new("Humanoid")
  360. hc.Health = 0
  361. hc.MaxHealth = 0
  362. slash = Instance.new("Sound")
  363. slash.SoundId = "http://www.roblox.com/asset/?id=130839563"
  364. slash.Volume = 1
  365. slash.Pitch = 1.5
  366. slash.Parent = Rarm
  367. hitsound = Instance.new("Sound")
  368. hitsound.SoundId = "http://www.roblox.com/asset/?id=130839563"
  369. hitsound.Volume = 1
  370. hitsound.Pitch = 1
  371. hitsound.Parent = torso
  372. Mo = Instance.new("Model")
  373. Mo.Name = Modelname
  374. RABrick = Part(Mo, false, false, 1, 0, "Really Black", 0.1, 0.1, 0.1, true)
  375. LABrick = Part(Mo, false, false, 1, 0, "Really Black", 0.1, 0.1, 0.1, true)
  376. RLBrick = Part(Mo, false, false, 1, 0, "Really Black", 0.1, 0.1, 0.1, true)
  377. LLBrick = Part(Mo, false, false, 1, 0, "Really Black", 0.1, 0.1, 0.1, true)
  378. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  379. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  380. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  381. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  382. RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
  383. LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
  384. RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  385. LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
  386. TBricks = {}
  387. for i, v in pairs({Rarm, Larm, Rleg, Lleg, torso, Ball1, Ball2, Staff, head}) do
  388. local p = Part(Mo, false, false, 1, 0, "Really black", 0.9, 0.9, 0.8, true)
  389. Weld(v, p, 0, 0.7, 0, 0, 0, 0)
  390. table.insert(TBricks, {p, hurt = false, able = true})
  391. end
  392. function startEff(part)
  393. effectOn = true
  394. local lastPoint = part.Position
  395. coroutine.resume(coroutine.create(function()
  396. while effectOn do
  397. wait()
  398. local mag = (lastPoint - part.Position).magnitude
  399. local p = Part(Mo, true, false, 0.2, 0.05, "White", 0.1, 0.1, mag+0.2, true)
  400. p.CFrame = CFrame.new(lastPoint, part.Position) * CFrame.new(0, 0, -mag/2)
  401. Instance.new("BlockMesh",p)
  402. lastPoint = part.Position
  403. coroutine.resume(coroutine.create(function()
  404. for x=0.2,1,0.2 do
  405. wait()
  406. p.Transparency = x
  407. end
  408. p:remove()
  409. end))
  410. end
  411. end))
  412. end
  413. function endEff()
  414. effectOn = false
  415. end
  416. function ShowDMG(p, d)
  417. local mo = Instance.new("Model")
  418. mo.Name = d
  419. local pa = Part(mo, false, true, 0, 0, "Really black", 0, 0, 0, true)
  420. pa.CFrame = CFrame.new(p.Position)
  421. pa.Transparency = 0
  422. pa.Name = "Head"
  423. local hah = hc:clone()
  424. hah.Parent = mo
  425. local bp = Add.BP(pa)
  426. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  427. bp.position = p.Position + Vector3.new(0, 2.5, 0)
  428. Add.BG(pa)
  429. coroutine.resume(coroutine.create(function()
  430. wait(0.2)
  431. mo.Parent = workspace
  432. wait(1.5)
  433. mo:remove()
  434. end))
  435. end
  436. for i, v in pairs(TBricks) do
  437. v[1].Touched:connect(function(hit)
  438. local fig = hit.Parent
  439. H, T = getHumanoid(fig), fig:findFirstChild("Torso")
  440. if H ~= nil and T ~= nil and v.hurt and v.able then
  441. hitsound:play()
  442. v.able = false
  443. local d = math.random(dmg[1], dmg[2])
  444. local hed, ne = getHead(fig, v[1].Position, 2.5)
  445. if dmg[3] == "RoundHouse" and hed ~= nil then
  446. d = math.random(dmg[1]*2.4, dmg[2]*2.4)
  447. coroutine.resume(coroutine.create(function()
  448. if ne ~= nil then
  449. for i=0,60,20 do
  450. ne.C0 = necko * CFrame.Angles(math.rad(-i), 0, 0)
  451. wait()
  452. end
  453. for i=60,0,-20 do
  454. ne.C0 = necko * CFrame.Angles(math.rad(-i), 0, 0)
  455. wait()
  456. end
  457. ne.C0 = necko
  458. end
  459. end))
  460. end
  461. H.Health = H.Health - d
  462. local xd = CFrame.new(v[1].Position, hit.Position)
  463. hit.Velocity = xd.lookVector * (d*2.3)
  464. ShowDMG(v[1], d)
  465. wait(0.34)
  466. v.able = true
  467. end
  468. end)
  469. end
  470. Mo.Parent = char
  471. RAWBattle = nil
  472. LAWBattle = nil
  473. function nilparts()
  474. LAW.Part1 = nil
  475. RAW.Part1 = nil
  476. RLW.Part1 = nil
  477. LLW.Part1 = nil
  478. LAW.C0 = CFrame.new(0, 0, 0)
  479. RLW.C0 = CFrame.new(0, 0, 0)
  480. LLW.C0 = CFrame.new(0, 0, 0)
  481. RAW.C0 = CFrame.new(0, 0, 0)
  482. end
  483. function attach()
  484. LAW.Part1 = Larm
  485. RLW.Part1 = Rleg
  486. LLW.Part1 = Lleg
  487. RAW.Part1 = Rarm
  488. LAW.C0 = CFrame.new(0, 0, 0)
  489. RLW.C0 = CFrame.new(0, 0, 0)
  490. LLW.C0 = CFrame.new(0, 0, 0)
  491. RAW.C0 = CFrame.new(0, 0, 0)
  492. end
  493. attacks = {
  494. function(mouse)
  495. savews = hum.WalkSpeed
  496. if char.Torso:FindFirstChild("TorsoWeld1") ~= nil then
  497. char.Torso.TorsoWeld1:Remove()
  498. end
  499. if char.Torso:FindFirstChild("TorsoWeld2") ~= nil then
  500. char.Torso.TorsoWeld2:Remove()
  501. end
  502. if char.Torso:FindFirstChild("TorsoWeld3") ~= nil then
  503. char.Torso.TorsoWeld3:Remove()
  504. end
  505. if char:FindFirstChild("Ball1") ~= nil then
  506. char.Ball1:Remove()
  507. end
  508. if char:FindFirstChild("Ball2") ~= nil then
  509. char.Ball2:Remove()
  510. end
  511. if char:FindFirstChild("Staff") ~= nil then
  512. char.Staff:Remove()
  513. end
  514. if Rarm:FindFirstChild("Grip1") == nil and Rarm:FindFirstChild("Grip2") == nil and Rarm:FindFirstChild("Grip3") == nil then
  515. CreateHandWep()
  516. end
  517. hum.WalkSpeed = 45
  518. attach()
  519. wait(0.05)
  520. slash:play()
  521. for i = 1, 50 do
  522. neck.C0 = necko * CFrame.Angles(0, 0, 0)
  523. RLW.C0 = CFrame.Angles(0, 0, 0)
  524. LLW.C0 = CFrame.Angles(0, 0, 0)
  525. RAW.C0 = CFrame.Angles(0+i, 0, 1.5)
  526. LAW.C0 = CFrame.Angles(0, 0, 0)
  527. for u, c in pairs(workspace:GetChildren()) do
  528. if c.Name ~= me.Name then
  529. h = c:findFirstChild("Humanoid")
  530. t = c:findFirstChild("Torso")
  531. if h ~= nil and t ~= nil then
  532. if (Rarm.Position-t.Position).magnitude <= 7.5 then
  533. if i < 100 then
  534. CreateTag(Me, h)
  535. h:TakeDamage(10000)
  536. hitsound:play()
  537. end
  538. if i >= 100 then
  539. if h ~= nil and t ~= nil then
  540. h.Sit = true
  541. t.Velocity = torso.CFrame.lookVector * 100 + Vector3.new(0, 25, 0)
  542. end
  543. end
  544. end
  545. end
  546. end
  547. end
  548. wait()
  549. end
  550. slash:play()
  551. wait(0.5)
  552. endEff()
  553. wait()
  554. hum.WalkSpeed = savews
  555. nilparts()
  556. neck.C0 = necko
  557. end,
  558. function(mouse)
  559. savews = hum.WalkSpeed
  560. if char.Torso:FindFirstChild("TorsoWeld1") ~= nil then
  561. char.Torso.TorsoWeld1:Remove()
  562. end
  563. if char.Torso:FindFirstChild("TorsoWeld2") ~= nil then
  564. char.Torso.TorsoWeld2:Remove()
  565. end
  566. if char.Torso:FindFirstChild("TorsoWeld3") ~= nil then
  567. char.Torso.TorsoWeld3:Remove()
  568. end
  569. if char:FindFirstChild("Ball1") ~= nil then
  570. char.Ball1:Remove()
  571. end
  572. if char:FindFirstChild("Ball2") ~= nil then
  573. char.Ball2:Remove()
  574. end
  575. if char:FindFirstChild("Staff") ~= nil then
  576. char.Staff:Remove()
  577. end
  578. if Rarm:FindFirstChild("Grip1") == nil and Rarm:FindFirstChild("Grip2") == nil and Rarm:FindFirstChild("Grip3") == nil then
  579. CreateHandWep()
  580. end
  581. hum.WalkSpeed = 45
  582. attach()
  583. wait(0.05)
  584. slash:play()
  585. for i = 1, 50 do
  586. neck.C0 = necko * CFrame.Angles(0, 0, 0)
  587. RLW.C0 = CFrame.Angles(0, 0, 0)
  588. LLW.C0 = CFrame.Angles(0, 0, 0)
  589. RAW.C0 = CFrame.Angles(1.5, 0+i, 0)
  590. LAW.C0 = CFrame.Angles(0, 0, 0)
  591. for u, c in pairs(workspace:GetChildren()) do
  592. if c.Name ~= me.Name then
  593. h = c:findFirstChild("Humanoid")
  594. t = c:findFirstChild("Torso")
  595. if h ~= nil and t ~= nil then
  596. if (Rarm.Position-t.Position).magnitude <= 7.5 then
  597. if i < 100 then
  598. CreateTag(Me, h)
  599. h:TakeDamage(10000)
  600. hitsound:play()
  601. end
  602. if i >= 100 then
  603. if h ~= nil and t ~= nil then
  604. h.Sit = true
  605. t.Velocity = torso.CFrame.lookVector * 100 + Vector3.new(0, 25, 0)
  606. end
  607. end
  608. end
  609. end
  610. end
  611. end
  612. wait()
  613. end
  614. slash:play()
  615. wait(0.5)
  616. endEff()
  617. wait()
  618. hum.WalkSpeed = savews
  619. nilparts()
  620. neck.C0 = necko
  621. end,
  622. function(mouse)
  623. savews = hum.WalkSpeed
  624. hum.WalkSpeed = 55
  625. if char.Torso:FindFirstChild("TorsoWeld1") ~= nil then
  626. char.Torso.TorsoWeld1:Remove()
  627. end
  628. if char.Torso:FindFirstChild("TorsoWeld2") ~= nil then
  629. char.Torso.TorsoWeld2:Remove()
  630. end
  631. if char.Torso:FindFirstChild("TorsoWeld3") ~= nil then
  632. char.Torso.TorsoWeld3:Remove()
  633. end
  634. if char:FindFirstChild("Ball1") ~= nil then
  635. char.Ball1:Remove()
  636. end
  637. if char:FindFirstChild("Ball2") ~= nil then
  638. char.Ball2:Remove()
  639. end
  640. if char:FindFirstChild("Staff") ~= nil then
  641. char.Staff:Remove()
  642. end
  643. if Rarm:FindFirstChild("Grip1") == nil and Rarm:FindFirstChild("Grip2") == nil and Rarm:FindFirstChild("Grip3") == nil then
  644. CreateHandWep()
  645. end
  646. attach()
  647. slash:play()
  648. neck.C0 = necko * CFrame.Angles(0, 0, 0)
  649. RLW.C0 = CFrame.Angles(0, 0, 0)
  650. LLW.C0 = CFrame.Angles(0, 0, 0)
  651. RAW.C0 = CFrame.Angles(2.5, 0, -1)
  652. LAW.C0 = CFrame.Angles(2.5, 0, 1)
  653. for i = 1, 1 do
  654. for u, c in pairs(workspace:GetChildren()) do
  655. if c.Name ~= me.Name then
  656. h = c:findFirstChild("Humanoid")
  657. t = c:findFirstChild("Torso")
  658. if h ~= nil and t ~= nil then
  659. if (Rarm.Position-t.Position).magnitude <= 7.5 then
  660. if i < 100 then
  661. CreateTag(Me, h)
  662. h:TakeDamage(10000)
  663. hitsound:play()
  664. end
  665. if i >= 100 then
  666. if h ~= nil and t ~= nil then
  667. h.Sit = true
  668. t.Velocity = torso.CFrame.lookVector * 100 + Vector3.new(0, 25, 0)
  669. end
  670. end
  671. end
  672. end
  673. end
  674. end
  675. end
  676. wait(0.5)
  677. for i = 1, 1 do
  678. for u, c in pairs(workspace:GetChildren()) do
  679. if c.Name ~= me.Name then
  680. h = c:findFirstChild("Humanoid")
  681. t = c:findFirstChild("Torso")
  682. if h ~= nil and t ~= nil then
  683. if (Rarm.Position-t.Position).magnitude <= 7.5 then
  684. if i < 100 then
  685. CreateTag(Me, h)
  686. h:TakeDamage(10000)
  687. hitsound:play()
  688. end
  689. if i >= 100 then
  690. if h ~= nil and t ~= nil then
  691. h.Sit = true
  692. t.Velocity = torso.CFrame.lookVector * 100 + Vector3.new(0, 25, 0)
  693. end
  694. end
  695. end
  696. end
  697. end
  698. end
  699. end
  700. slash:play()
  701. RAW.C0 = CFrame.Angles(0.75, 0, -1)
  702. LAW.C0 = CFrame.Angles(0.75, 0, 1)
  703. wait(0.25)
  704.  
  705. endEff()
  706. wait()
  707. hum.WalkSpeed = savews
  708. nilparts()
  709. neck.C0 = necko
  710. end,
  711. function(mouse)
  712. if char.Torso:FindFirstChild("TorsoWeld1") ~= nil then
  713. char.Torso.TorsoWeld1:Remove()
  714. end
  715. if char.Torso:FindFirstChild("TorsoWeld2") ~= nil then
  716. char.Torso.TorsoWeld2:Remove()
  717. end
  718. if char.Torso:FindFirstChild("TorsoWeld3") ~= nil then
  719. char.Torso.TorsoWeld3:Remove()
  720. end
  721. if char:FindFirstChild("Ball1") ~= nil then
  722. char.Ball1:Remove()
  723. end
  724. if char:FindFirstChild("Ball2") ~= nil then
  725. char.Ball2:Remove()
  726. end
  727. if char:FindFirstChild("Staff") ~= nil then
  728. char.Staff:Remove()
  729. end
  730. if Rarm:FindFirstChild("Grip1") == nil and Rarm:FindFirstChild("Grip2") == nil and Rarm:FindFirstChild("Grip3") == nil then
  731. CreateHandWep()
  732. end
  733. savews = hum.WalkSpeed
  734. hum.WalkSpeed = hum.WalkSpeed * 1.5
  735. attach()
  736. local Bal = Instance.new("Part")
  737. Bal.Parent = char
  738. Bal.Name = "Tornado"
  739. Bal.CanCollide = false
  740. Bal.Locked = true
  741. Bal.TopSurface = "Smooth"
  742. Bal.BottomSurface = "Smooth"
  743. Bal.formFactor = "Symmetric"
  744. Bal.BrickColor = BrickColor.new("Really black")
  745. Bal.CFrame = char.Torso.CFrame
  746. Bal.Transparency = 0.25
  747. Bal.Reflectance = 0.6
  748. Bal.Size = Vector3.new(1, 1, 1)
  749. b1Weld = Instance.new("Weld")
  750. b1Weld.Parent = char["Right Arm"]
  751. b1Weld.Part0 = char["Right Arm"]
  752. b1Weld.Part1 = Bal
  753. b1Weld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(3.14, 0, 0)
  754. b1Weld.Name = "WindWeld"
  755. BallMesh = Instance.new("SpecialMesh")
  756. BallMesh.MeshType = "FileMesh"
  757. BallMesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  758. BallMesh.Parent = Bal
  759. BallMesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  760. game.Debris:AddItem(Bal, 6)
  761. game:GetService("Chat"):Chat(torso.Parent.Head, "Wind Cutter!")
  762. for i = 1, 150 do
  763. slash:play()
  764. BallMesh.Scale = BallMesh.Scale + Vector3.new(1, 1.5, 1)
  765. neck.C0 = necko * CFrame.Angles(0, 0, 0)
  766. RLW.C0 = CFrame.Angles(0, 0, 0)
  767. LLW.C0 = CFrame.Angles(0, 0, 0)
  768. RAW.C0 = CFrame.Angles(3, 0+i, 0)
  769. for u, c in pairs(workspace:GetChildren()) do
  770. if c.Name ~= me.Name then
  771. h = c:findFirstChild("Humanoid")
  772. t = c:findFirstChild("Torso")
  773. if h ~= nil and t ~= nil then
  774. if (torso.Position-t.Position).magnitude <= 10+i then
  775. if i < 150 then
  776. CreateTag(Me, h)
  777. h:TakeDamage(10000)
  778. hum.Health = hum.Health + 0.5
  779. h:MoveTo(torso.Position, torso)
  780. t.Velocity = torso.CFrame.lookVector * 10 + Vector3.new(0, 25, 0)
  781. hitsound:play()
  782. end
  783. if i >= 150 then
  784. if h ~= nil and t ~= nil then
  785. h.PlatformStand = true
  786. t.Velocity = torso.CFrame.lookVector * 100 + Vector3.new(0, 50, 0)
  787. end
  788. end
  789. end
  790. end
  791. end
  792. end
  793. wait()
  794. end
  795. slash:play()
  796. Bal:Remove()
  797. endEff()
  798. wait()
  799. hum.WalkSpeed = savews
  800. nilparts()
  801. neck.C0 = necko
  802. wait(1)
  803. end,
  804. function(mouse)
  805. if char.Torso:FindFirstChild("TorsoWeld1") ~= nil then
  806. char.Torso.TorsoWeld1:Remove()
  807. end
  808. if char.Torso:FindFirstChild("TorsoWeld2") ~= nil then
  809. char.Torso.TorsoWeld2:Remove()
  810. end
  811. if char.Torso:FindFirstChild("TorsoWeld3") ~= nil then
  812. char.Torso.TorsoWeld3:Remove()
  813. end
  814. if char:FindFirstChild("Ball1") ~= nil then
  815. char.Ball1:Remove()
  816. end
  817. if char:FindFirstChild("Ball2") ~= nil then
  818. char.Ball2:Remove()
  819. end
  820. if char:FindFirstChild("Staff") ~= nil then
  821. char.Staff:Remove()
  822. end
  823. if Rarm:FindFirstChild("Grip1") == nil and Rarm:FindFirstChild("Grip2") == nil and Rarm:FindFirstChild("Grip3") == nil then
  824. CreateHandWep()
  825. end
  826. savews = hum.WalkSpeed
  827. attach()
  828. Velocity = Instance.new("BodyVelocity")
  829. Velocity.Parent = torso
  830. Velocity.maxForce = Vector3.new(0, 0, 0)
  831. for i = 1, 50 do
  832. slash:play()
  833. hum.WalkSpeed = hum.WalkSpeed + 2
  834. RAW.C0 = CFrame.Angles(3.14, 0+i, 0)
  835. torso.Velocity = Vector3.new(0, 25, 0)
  836. wait()
  837. end
  838.  
  839. endEff()
  840. hum.WalkSpeed = savews
  841. nilparts()
  842. Velocity:Remove()
  843. neck.C0 = necko
  844. end,
  845. function(mouse)
  846. savews = hum.WalkSpeed
  847. attach()
  848. hum.PlatformStand = true
  849. Velocity = Instance.new("BodyVelocity")
  850. Velocity.Parent = torso
  851. Velocity.maxForce = Vector3.new(0, 0, 0)
  852. Gyro = Instance.new("BodyGyro")
  853. Gyro.Parent = torso
  854. Gyro.D = 50
  855. Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  856. Gyro.cframe = torso.CFrame
  857. RAW.C0 = CFrame.Angles(-0.75, 0, 0.75)
  858. LAW.C0 = CFrame.Angles(-0.75, 0, -0.75)
  859. RLW.C0 = CFrame.Angles(0, 0, 0)
  860. LLW.C0 = CFrame.Angles(0, 0, 0)
  861. torso.Velocity = torso.CFrame.lookVector * 100 + Vector3.new(0, 65, 0)
  862. for i = 1 , 32 do
  863. Gyro.cframe = Gyro.cframe * CFrame.Angles(-0.12, 0, 0)
  864. wait()
  865. end
  866. wait(0.1)
  867. RAW.C0 = CFrame.Angles(1.5, 0, 0)
  868. LAW.C0 = CFrame.Angles(1.5, 0, 0)
  869. RLW.C0 = CFrame.Angles(1.5, 0, 0)
  870. LLW.C0 = CFrame.Angles(1.5, 0, 0)
  871. torso.Velocity = Vector3.new(0, -10, 0)
  872. for i = 1 , 16 do
  873. Gyro.cframe = Gyro.cframe * CFrame.Angles(-0.56, 0, 0)
  874. wait()
  875. end
  876. Velocity.maxForce = Vector3.new(0, 0, 0)
  877. Velocity.velocity = Vector3.new(0, 0, 0)
  878. Gyro.maxTorque = Vector3.new(math.huge, 0, math.huge)
  879. wait()
  880. Gyro.maxTorque = Vector3.new(0, 0, 0)
  881. wait()
  882. Velocity:Remove()
  883. Gyro:Remove()
  884. hum.PlatformStand = false
  885. hum.WalkSpeed = savews
  886. nilparts()
  887. end,
  888. function(mouse)
  889. savews = hum.WalkSpeed
  890. attach()
  891. for i = 1, 15 do
  892. RAW.C0 = CFrame.Angles(0+i, 0, 1.5)
  893. LAW.C0 = CFrame.Angles(0, 0, 0)
  894. RLW.C0 = CFrame.Angles(0, 0, 0)
  895. LLW.C0 = CFrame.Angles(0, 0, 0)
  896. wait()
  897. end
  898. for i = 1, 15 do
  899. RAW.C0 = CFrame.Angles(1.5, 0+i, 0)
  900. LAW.C0 = CFrame.Angles(0, 0, 0)
  901. RLW.C0 = CFrame.Angles(0, 0, 0)
  902. LLW.C0 = CFrame.Angles(0, 0, 0)
  903. wait()
  904. end
  905. for i = 1, 15 do
  906. RAW.C0 = CFrame.Angles(3.14, 0+i, 0)
  907. LAW.C0 = CFrame.Angles(0, 0, 0)
  908. RLW.C0 = CFrame.Angles(0, 0, 0)
  909. LLW.C0 = CFrame.Angles(0, 0, 0)
  910. wait()
  911. end
  912. if Rarm:FindFirstChild("Grip1") ~= nil then
  913. Rarm.Grip1:Remove()
  914. end
  915. if Rarm:FindFirstChild("Grip2") ~= nil then
  916. Rarm.Grip2:Remove()
  917. end
  918. if Rarm:FindFirstChild("Grip3") ~= nil then
  919. Rarm.Grip3:Remove()
  920. end
  921. if char:FindFirstChild("Ball1") ~= nil then
  922. char.Ball1:Remove()
  923. end
  924. if char:FindFirstChild("Ball2") ~= nil then
  925. char.Ball2:Remove()
  926. end
  927. if char:FindFirstChild("Staff") ~= nil then
  928. char.Staff:Remove()
  929. end
  930. if Rarm:FindFirstChild("TorsoWeld1") == nil and Rarm:FindFirstChild("TorsoWeld2") == nil and Rarm:FindFirstChild("TorsoWeld3") == nil then
  931. CreateBackWep()
  932. end
  933. nilparts()
  934. end,
  935. function(mouse)
  936. if char.Torso:FindFirstChild("TorsoWeld1") ~= nil then
  937. char.Torso.TorsoWeld1:Remove()
  938. end
  939. if char.Torso:FindFirstChild("TorsoWeld2") ~= nil then
  940. char.Torso.TorsoWeld2:Remove()
  941. end
  942. if char.Torso:FindFirstChild("TorsoWeld3") ~= nil then
  943. char.Torso.TorsoWeld3:Remove()
  944. end
  945. if char:FindFirstChild("Ball1") ~= nil then
  946. char.Ball1:Remove()
  947. end
  948. if char:FindFirstChild("Ball2") ~= nil then
  949. char.Ball2:Remove()
  950. end
  951. if char:FindFirstChild("Staff") ~= nil then
  952. char.Staff:Remove()
  953. end
  954. if Rarm:FindFirstChild("Grip1") == nil and Rarm:FindFirstChild("Grip2") == nil and Rarm:FindFirstChild("Grip3") == nil then
  955. CreateHandWep()
  956. end
  957. savews = hum.WalkSpeed
  958. attach()
  959. for i = 1, 15 do
  960. RAW.C0 = CFrame.Angles(3.14, 0+i, 0)
  961. LAW.C0 = CFrame.Angles(0, 0, 0)
  962. RLW.C0 = CFrame.Angles(0, 0, 0)
  963. LLW.C0 = CFrame.Angles(0, 0, 0)
  964. wait()
  965. end
  966. game:GetService("Chat"):Chat(torso.Parent.Head, "Wind Blade Dance!")
  967. for i = 1, 15 do
  968. RAW.C0 = CFrame.Angles(1.5, 0+i, 0)
  969. LAW.C0 = CFrame.Angles(0, 0, 0)
  970. RLW.C0 = CFrame.Angles(0, 0, 0)
  971. LLW.C0 = CFrame.Angles(0, 0, 0)
  972. x = Instance.new("Part")
  973. x.BrickColor = BrickColor.new("White")
  974. x.Transparency = 0.5
  975. x.Size = Vector3.new(5, 5, 5)
  976. x.TopSurface = "Smooth"
  977. x.BottomSurface = "Smooth"
  978. x.Shape = "Block"
  979. x.Name = me.Name
  980. x.CanCollide = false
  981. y = Instance.new("BodyVelocity")
  982. y.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  983. y.velocity = torso.CFrame.lookVector*120
  984. x.Parent = Workspace
  985. y.Parent = x
  986. x.CFrame = torso.CFrame*CFrame.new(2, -1, -5.5) * CFrame.Angles(1.5, 0, 0)
  987. BallMesh = Instance.new("SpecialMesh")
  988. BallMesh.MeshType = "FileMesh"
  989. BallMesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  990. BallMesh.Parent = x
  991. BallMesh.Scale = Vector3.new(3, 3, 3)
  992. game.Debris:AddItem(x, 3)
  993. x.Touched:connect(function(shiz)
  994. if shiz.Parent ~= nil then
  995. if shiz.Parent.Name ~= char.Name then
  996. if shiz.Parent:FindFirstChild("Humanoid") ~= nil then
  997.  
  998. if shiz.Parent:findFirstChild("Humanoid") ~= nil then
  999. shiz.Parent.Humanoid.Health = shiz.Parent.Humanoid.Health - 2
  1000. x:Remove()
  1001. shiz.Parent.Torso.Velocity = torso.CFrame.lookVector * 50 + Vector3.new(0, 25, 0)
  1002. end
  1003. end
  1004. end
  1005. end
  1006. end)
  1007. wait()
  1008. end
  1009. nilparts()
  1010. end,
  1011. function(mouse)
  1012. game:GetService("Chat"):Chat(torso.Parent.Head, "Emergency Wind Bomb!")
  1013. ShockWave = Instance.new("Part")
  1014. ShockWave.Parent = Hair2
  1015. ShockWave.Size = Vector3.new(50, 50, 50)
  1016. ShockWave.Transparency = 0
  1017. ShockWave.formFactor = "Symmetric"
  1018. ShockWave.CanCollide = false
  1019. ShockWave.Anchored = true
  1020. ShockWave.TopSurface = "Smooth"
  1021. ShockWave.BottomSurface = "Smooth"
  1022. ShockWave.BrickColor = BrickColor.new("Really black")
  1023. ShockWave.Name = "ShockWave"
  1024. ShockWave.CFrame = CFrame.new(torso.Position)
  1025. ShockMesh = Instance.new("SpecialMesh")
  1026. ShockMesh.Parent = ShockWave
  1027. ShockMesh.MeshType = "Sphere"
  1028. ShockMesh.Scale = Vector3.new(1, 1, 1)
  1029. for i = 1 , 10 do
  1030.  
  1031. ShockWave.Transparency = ShockWave.Transparency + 0.0005
  1032. ShockMesh.Scale = ShockMesh.Scale + Vector3.new(1, 1, 1)
  1033. for u, c in pairs(workspace:GetChildren()) do
  1034. if c.Name ~= me.Name then
  1035. h = c:findFirstChild("Humanoid")
  1036. t = c:findFirstChild("Torso")
  1037. if h ~= nil and t ~= nil then
  1038. if (torso.Position-t.Position).magnitude <= 15 then
  1039. h.PlatformStand = true
  1040. SavedT = t.Position
  1041. t.CFrame = CFrame.new(SavedT)
  1042. t.Velocity = torso.CFrame.lookVector * 5 + Vector3.new(0, 5, 0)
  1043. if i < 100 then
  1044. CreateTag(Me, h)
  1045. t:Remove()
  1046. end
  1047. if i >= 100 then
  1048. if h ~= nil and t ~= nil then
  1049. h:TakeDamage(10000)
  1050. end
  1051. t.Velocity = torso.CFrame.lookVector * 100 + Vector3.new(0, 100, 0)
  1052. t:Remove()
  1053. end
  1054. end
  1055. end
  1056. end
  1057. end
  1058. wait()
  1059. end
  1060.  
  1061. nilparts()
  1062. end
  1063. }
  1064. bloc = function(mouse)
  1065. if char.Torso:FindFirstChild("TorsoWeld1") ~= nil then
  1066. char.Torso.TorsoWeld1:Remove()
  1067. end
  1068. if char.Torso:FindFirstChild("TorsoWeld2") ~= nil then
  1069. char.Torso.TorsoWeld2:Remove()
  1070. end
  1071. if char.Torso:FindFirstChild("TorsoWeld3") ~= nil then
  1072. char.Torso.TorsoWeld3:Remove()
  1073. end
  1074. if char:FindFirstChild("Ball1") ~= nil then
  1075. char.Ball1:Remove()
  1076. end
  1077. if char:FindFirstChild("Ball2") ~= nil then
  1078. char.Ball2:Remove()
  1079. end
  1080. if char:FindFirstChild("Staff") ~= nil then
  1081. char.Staff:Remove()
  1082. end
  1083. if Rarm:FindFirstChild("Grip1") == nil and Rarm:FindFirstChild("Grip2") == nil and Rarm:FindFirstChild("Grip3") == nil then
  1084. CreateHandWep()
  1085. end
  1086. local hold = true
  1087. local bg = Add.BG(nil)
  1088. attach()
  1089. slash:play()
  1090. local duh = true
  1091. block = true
  1092. mouse.KeyUp:connect(function(k)
  1093. k = k:lower()
  1094. if duh == true and k == "t" then
  1095. hp = char.Humanoid.Health
  1096. block = false
  1097. duh = false
  1098. hold = false
  1099. end
  1100. end)
  1101. coroutine.resume(coroutine.create(function()
  1102. for i = 1, 1 do
  1103. RAW.C0 = CFrame.Angles(-0.75, 1, -0.75)
  1104. LAW.C0 = CFrame.Angles(1.75, 0, 0.75) * CFrame.new(0, -0.5, 0)
  1105. LLW.C0 = CFrame.Angles(0, 0, -0.5)
  1106. RLW.C0 = CFrame.Angles(0, 0, 0.5)
  1107. wait()
  1108. end
  1109. end))
  1110. bg.Parent = torso
  1111. while block and hold do
  1112. wait()
  1113. bg.cframe = ComputePos(torso.Position, mouse.Hit.p)
  1114. end
  1115. slash:play()
  1116. for i = 1, 25 do
  1117. RAW.C0 = CFrame.Angles(1.5, 0-i, 0)
  1118. LAW.C0 = CFrame.Angles(1.75, 0, 0.75) * CFrame.new(0.25, -0.35, 0)
  1119. LLW.C0 = CFrame.Angles(0, 0, -0.5)
  1120. RLW.C0 = CFrame.Angles(0, 0, 0.5)
  1121. char.Humanoid.Health = hp
  1122. for u, c in pairs(workspace:GetChildren()) do
  1123. if c.Name ~= me.Name then
  1124. h = c:findFirstChild("Humanoid")
  1125. t = c:findFirstChild("Torso")
  1126. if h ~= nil and t ~= nil then
  1127. if (Rarm.Position-t.Position).magnitude <= 7.5 then
  1128. if i < 100 then
  1129. CreateTag(Me, h)
  1130. t.Velocity = torso.CFrame.lookVector * 150 + Vector3.new(0, 0, 0)
  1131. end
  1132. if i >= 100 then
  1133. if h ~= nil and t ~= nil then
  1134. h.Sit = true
  1135. t.Velocity = torso.CFrame.lookVector * 150 + Vector3.new(0, 0, 0)
  1136. end
  1137. end
  1138. end
  1139. end
  1140. if c.className == "Part" then
  1141. if (torso.Position-c.Position).magnitude <= 50 then
  1142. f = c:findFirstChild("BodyVelocity")
  1143. if f ~= nil then
  1144. if f.Parent:FindFirstChild("Deflected") == nil then
  1145. f.velocity = f.velocity * Vector3.new(-1, 0, -1)
  1146. --f.Name = "Reversed"
  1147. p = Instance.new("StringValue")
  1148. p.Name = "Deflected"
  1149. p.Parent = f.Parent
  1150. end
  1151. end
  1152. end
  1153. end
  1154. if c.className == "Part" then
  1155. if (torso.Position-c.Position).magnitude <= 50 then
  1156. f = c:findFirstChild("BodyForce")
  1157. if f ~= nil then
  1158. if f.Parent:FindFirstChild("Deflected") == nil then
  1159. f.force = f.force * Vector3.new(-1, 0, -1)
  1160. --f.Name = "Reversed"
  1161. p = Instance.new("StringValue")
  1162. p.Name = "Deflected"
  1163. p.Parent = f.Parent
  1164. end
  1165. end
  1166. end
  1167. end
  1168. if c.className == "Part" then
  1169. if (torso.Position-c.Position).magnitude <= 50 then
  1170. f = c:findFirstChild("BodyThrust")
  1171. if f ~= nil then
  1172. if f.Parent:FindFirstChild("Deflected") == nil then
  1173. f.force = f.force * Vector3.new(-1, 0, -1)
  1174. --f.Name = "Reversed"
  1175. p = Instance.new("StringValue")
  1176. p.Name = "Deflected"
  1177. p.Parent = f.Parent
  1178. end
  1179. end
  1180. end
  1181. end
  1182. if c.className == "Part" then
  1183. if (torso.Position-c.Position).magnitude <= 50 then
  1184. f = c:findFirstChild("RocketPropulsion")
  1185. if f ~= nil then
  1186. if f.Parent:FindFirstChild("Deflected") == nil then
  1187. f.MaxSpeed = f.MaxSpeed * (-1)
  1188. f.MaxThrust = f.MaxThrust * (-1)
  1189. --f.Name = "Reversed"
  1190. p = Instance.new("StringValue")
  1191. p.Name = "Deflected"
  1192. p.Parent = f.Parent
  1193. end
  1194. end
  1195. end
  1196. end
  1197. end
  1198. end
  1199. wait()
  1200. end
  1201. nilparts()
  1202. bg:remove()
  1203. neck.C0 = necko
  1204. end
  1205. function select(mouse)
  1206. mouse.Button1Down:connect(function()
  1207. if able then
  1208. able = false
  1209. attacks[math.random(1,3)](mouse)
  1210. able = true
  1211. end
  1212. end)
  1213. mouse.KeyDown:connect(function(key)
  1214. key = key:lower()
  1215. if able then
  1216. if key == "e" then
  1217. able = false
  1218. attacks[4](mouse)
  1219. able = true
  1220. elseif key == "r" then
  1221. able = false
  1222. attacks[5](mouse)
  1223. able = true
  1224. elseif key == " " then
  1225. able = false
  1226. attacks[6](mouse)
  1227. able = true
  1228. elseif key == "y" then
  1229. able = false
  1230. attacks[7](mouse)
  1231. able = true
  1232. elseif key == "q" then
  1233. able = false
  1234. attacks[8](mouse)
  1235. able = true
  1236. elseif key == "b" then
  1237. able = false
  1238. attacks[9](mouse)
  1239. able = true
  1240. elseif key == "t" then
  1241. able = false
  1242. bloc(mouse)
  1243. able = true
  1244. elseif key == "z" then
  1245. able = false
  1246. holdkey = true
  1247. while holdkey do
  1248. attacks[math.random(1,#attacks)](mouse)
  1249. end
  1250. able = true
  1251. end
  1252. end
  1253. end)
  1254. mouse.KeyUp:connect(function(key)
  1255. key = key:lower()
  1256. if key == "z" then
  1257. holdkey = false
  1258. end
  1259. end)
  1260. end
  1261. if script.Parent.className ~= "HopperBin" then
  1262. h = Instance.new("HopperBin",me.Backpack)
  1263. h.Name = "Annoying staff"
  1264. script.Parent = h
  1265. end
  1266. bin = script.Parent
  1267. bin.Selected:connect(select)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement