AndrewTheMaster

Three Sword Style

May 2nd, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.26 KB | None | 0 0
  1. --------------------------------------------------Diable JAmble V 0.5------------------------
  2. wait();
  3. local ta1 = 5;
  4. Plrs = game:GetService("Players")
  5.  
  6. me = Plrs.LocalPlayer
  7. char = me.Character
  8. Modelname = "TriBladeStyle"
  9. local HIT = false
  10. local DMG = 50
  11. local AIM = false
  12. Busy = false
  13. GotHit = false
  14. torso = char.Torso
  15. neck = torso.Neck
  16. hum = char.Humanoid
  17. rightarm = char["Right Arm"]
  18. leftarm = char["Left Arm"]
  19. rightleg = char["Right Leg"]
  20. leftleg = char["Left Leg"]
  21. RShoulder = torso["Right Shoulder"]
  22. LShoulder = torso["Left Shoulder"]
  23. RHip = torso["Right Hip"]
  24. LHip = torso["Left Hip"]
  25. head = char.Head
  26.  
  27.  
  28. A = Instance.new("ScreenGui")
  29. A.Parent = me.PlayerGui
  30. A.Name = "CharacterStats"
  31. B = Instance.new("Frame")
  32. B.BackgroundTransparency = 1
  33. B.Name = "Frame"
  34. B.Position = UDim2.new(0.25, 0, 0, 0)
  35. B.Size = UDim2.new(0.25, 0, 0.25, 0)
  36. B.Parent = A
  37. C = Instance.new("TextButton")
  38. C.Active = true
  39. C.AutoButtonColor = true
  40. C.Name = "HPRedBar"
  41. C.BackgroundColor3 = Color3.new(1, 0, 0)
  42. C.Position = UDim2.new(0, 0, 0.15, 0)
  43. C.Size = UDim2.new(1, 0, 0.1, 0)
  44. C.Selected = true
  45. C.Text = ""
  46. C.Parent = B
  47. D = Instance.new("TextButton")
  48. D.Active = true
  49. D.AutoButtonColor = true
  50. D.Name = "MPRedBar"
  51. D.BackgroundColor3 = Color3.new(1, 0, 0)
  52. D.Size = UDim2.new(1, 0, 0.1, 0)
  53. D.Position = UDim2.new(0, 0, 0.25, 0)
  54. D.Selected = true
  55. D.Text = ""
  56. D.Parent = B
  57. E = Instance.new("TextButton")
  58. E.Active = true
  59. E.AutoButtonColor = true
  60. E.Name = "HPGreenBar"
  61. E.BackgroundColor3 = Color3.new(0, 1, 0)
  62. E.Position = UDim2.new(0, 0, 0.15, 0)
  63. E.Size = UDim2.new(1, 0, 0.1, 0)
  64. E.Selected = true
  65. E.Text = ""
  66. E.Parent = B
  67. F = Instance.new("TextButton")
  68. F.Active = true
  69. F.AutoButtonColor = true
  70. F.Name = "MPBlueBar"
  71. F.BackgroundColor3 = Color3.new(0, 0, 1)
  72. F.Size = UDim2.new(1, 0, 0.1, 0)
  73. F.Position = UDim2.new(0, 0, 0.25, 0)
  74. F.Selected = true
  75. F.Text = ""
  76. F.Parent = B
  77. G = Instance.new("TextButton")
  78. G.Active = true
  79. G.AutoButtonColor = true
  80. G.BackgroundTransparency = 1
  81. G.Name = "HPLabel"
  82. G.BackgroundColor3 = Color3.new(0, 1, 0)
  83. G.Position = UDim2.new(0, 0, 0.15, 0)
  84. G.Size = UDim2.new(1, 0, 0.1, 0)
  85. G.Selected = true
  86. G.Text = "Health:100"
  87. G.Parent = B
  88. H = Instance.new("TextButton")
  89. H.Active = true
  90. H.AutoButtonColor = true
  91. H.BackgroundTransparency = 1
  92. H.Name = "MPRedBar"
  93. H.BackgroundColor3 = Color3.new(0, 1, 0)
  94. H.Size = UDim2.new(1, 0, 0.1, 0)
  95. H.Position = UDim2.new(0, 0, 0.25, 0)
  96. H.Selected = true
  97. H.Text = "Energy:100000"
  98. H.Parent = B
  99. Name = Instance.new("TextButton")
  100. Name.Active = true
  101. Name.AutoButtonColor = true
  102. Name.Name = "NameLabel"
  103. Name.BackgroundTransparency = 1
  104. Name.BackgroundColor3 = Color3.new(1, 0, 0)
  105. Name.Size = UDim2.new(2, 0, 1, 0)
  106. Name.Position = UDim2.new(-0.5, 0, 0.0625, 0)
  107. Name.Selected = true
  108. Name.Text = ""..me.Name..""
  109. Name.TextScaled = true
  110. Name.Parent = B
  111. Energy = 100
  112.  
  113. neckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  114. neckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  115. LShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  116. LShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  117. RShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  118. RShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  119. LHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  120. LHipC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  121. RHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  122. RHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  123.  
  124. function FindHumanoid(source)
  125. local object = source
  126. repeat
  127. if object.Parent ~= workspace then
  128. object = object.Parent
  129. else
  130. return true
  131. end
  132. until true
  133.  
  134. if object:findFirstChild("Humanoid") ~= nil then
  135. Damage(object.Humanoid)
  136. end
  137.  
  138. end
  139.  
  140. function Slash(target)
  141. if target.Name ~= "Weapon" and target.Name ~= "Handle" then
  142. FindHumanoid(target)
  143. end
  144. end
  145.  
  146. function Tag(h)
  147. if h:findFirstChild("Tag") ~= nil then
  148. h.Tag:Destroy()
  149. end
  150. local t = Instance.new("ObjectValue",h)
  151. t.Name = "Tag"
  152. t.Value = player
  153. game.Debris:AddItem(t,6)
  154. end
  155.  
  156. function Damage(huma)
  157. if huma.Parent.Name ~= char.Name and HIT == false and AIM == true then
  158. Tag(huma)
  159. huma.Health = huma.Health - DMG
  160. Energy = Energy + 20
  161. HIT = true
  162. wait(0.35)
  163. HIT = false
  164. end
  165. end
  166.  
  167. function NilLimbs()
  168. neck.C0 = neckC0
  169. neck.C1 = neckC1
  170. RShoulder.C0 = RShoulderC0
  171. RShoulder.C1 = RShoulderC1
  172. LShoulder.C0 = LShoulderC0
  173. LShoulder.C1 = LShoulderC1
  174. RHip.C0 = RHipC0
  175. RHip.C1 = RHipC1
  176. LHip.C0 = LHipC0
  177. LHip.C1 = LHipC1
  178. end
  179.  
  180. local Sword1 = Instance.new("Part")
  181. Sword1.Parent = char
  182. Sword1.Name = "SSword1"
  183. Sword1.CanCollide = false
  184. Sword1.Locked = true
  185. Sword1.TopSurface = "Smooth"
  186. Sword1.BottomSurface = "Smooth"
  187. Sword1.formFactor = "Symmetric"
  188. Sword1.BrickColor = BrickColor.new("Really black")
  189. Sword1.CFrame = char.Torso.CFrame
  190. Sword1.Transparency = 0
  191. Sword1.Reflectance = 0.1
  192. Sword1.Size = Vector3.new(1, 1, 1)
  193. b1Weld = Instance.new("Weld")
  194. b1Weld.Parent = char.Torso
  195. b1Weld.Part0 = char.Torso
  196. b1Weld.Part1 = Sword1
  197. b1Weld.Name = "TorsoWeld1"
  198. b1Weld.C0 = CFrame.new(1, -1.5, 0.5) * CFrame.Angles(0.2, 0, 1.57)
  199. Sword1Mesh = Instance.new("SpecialMesh")
  200. Sword1Mesh.MeshType = "FileMesh"
  201. Sword1Mesh.Parent = Sword1
  202. Sword1Mesh.MeshId = "http://www.roblox.com/asset/?id=11442510"
  203. Sword1Mesh.TextureId = "http://www.roblox.com/asset/?id=11442524"
  204. Sword1Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  205.  
  206.  
  207. local Sword2 = Instance.new("Part")
  208. Sword2.Parent = char
  209. Sword2.Name = "SSword2"
  210. Sword2.CanCollide = false
  211. Sword2.Locked = true
  212. Sword2.TopSurface = "Smooth"
  213. Sword2.BottomSurface = "Smooth"
  214. Sword2.formFactor = "Symmetric"
  215. Sword2.BrickColor = BrickColor.new("Really black")
  216. Sword2.CFrame = char.Torso.CFrame
  217. Sword2.Transparency = 0
  218. Sword2.Reflectance = 0.1
  219. Sword2.Size = Vector3.new(1, 1, 1)
  220. b1Weld = Instance.new("Weld")
  221. b1Weld.Parent = char.Torso
  222. b1Weld.Part0 = char.Torso
  223. b1Weld.Part1 = Sword2
  224. b1Weld.Name = "TorsoWeld1"
  225. b1Weld.C0 = CFrame.new(1, -1.5, 0.5) * CFrame.Angles(0.35, 0, 1.57)
  226. Sword2Mesh = Instance.new("SpecialMesh")
  227. Sword2Mesh.MeshType = "FileMesh"
  228. Sword2Mesh.Parent = Sword2
  229. Sword2Mesh.MeshId = "http://www.roblox.com/asset/?id=11442510"
  230. Sword2Mesh.TextureId = "http://www.roblox.com/asset/?id=11442524"
  231. Sword2Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  232.  
  233.  
  234. local Sword3 = Instance.new("Part")
  235. Sword3.Parent = char
  236. Sword3.Name = "SSword3"
  237. Sword3.CanCollide = false
  238. Sword3.Locked = true
  239. Sword3.TopSurface = "Smooth"
  240. Sword3.BottomSurface = "Smooth"
  241. Sword3.formFactor = "Symmetric"
  242. Sword3.BrickColor = BrickColor.new("Really black")
  243. Sword3.CFrame = char.Torso.CFrame
  244. Sword3.Transparency = 0
  245. Sword3.Reflectance = 0.1
  246. Sword3.Size = Vector3.new(1, 1, 1)
  247. b1Weld = Instance.new("Weld")
  248. b1Weld.Parent = char.Torso
  249. b1Weld.Part0 = char.Torso
  250. b1Weld.Part1 = Sword3
  251. b1Weld.Name = "TorsoWeld1"
  252. b1Weld.C0 = CFrame.new(1, -1.5, 0.5) * CFrame.Angles(0.5, 0, 1.57)
  253. Sword3Mesh = Instance.new("SpecialMesh")
  254. Sword3Mesh.MeshType = "FileMesh"
  255. Sword3Mesh.Parent = Sword3
  256. Sword3Mesh.MeshId = "http://www.roblox.com/asset/?id=11442510"
  257. Sword3Mesh.TextureId = "http://www.roblox.com/asset/?id=11442524"
  258. Sword3Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  259.  
  260. -------------------------Sword Above is Put Away----------------
  261.  
  262. function PutAway()
  263.  
  264. local Sword1 = Instance.new("Part")
  265. Sword1.Parent = char
  266. Sword1.Name = "SSword1"
  267. Sword1.CanCollide = false
  268. Sword1.Locked = true
  269. Sword1.TopSurface = "Smooth"
  270. Sword1.BottomSurface = "Smooth"
  271. Sword1.formFactor = "Symmetric"
  272. Sword1.BrickColor = BrickColor.new("Really black")
  273. Sword1.CFrame = char.Torso.CFrame
  274. Sword1.Transparency = 1
  275. Sword1.Reflectance = 0.1
  276. Sword1.Size = Vector3.new(1, 1, 1)
  277. b1Weld = Instance.new("Weld")
  278. b1Weld.Parent = char.Torso
  279. b1Weld.Part0 = char.Torso
  280. b1Weld.Part1 = Sword1
  281. b1Weld.Name = "TorsoWeld1"
  282. b1Weld.C0 = CFrame.new(1, -1.5, 0.5) * CFrame.Angles(0.2, 0, 1.57)
  283. Sword1Mesh = Instance.new("SpecialMesh")
  284. Sword1Mesh.MeshType = "FileMesh"
  285. Sword1Mesh.Parent = Sword1
  286. Sword1Mesh.MeshId = "http://www.roblox.com/asset/?id=11442510"
  287. Sword1Mesh.TextureId = "http://www.roblox.com/asset/?id=11442524"
  288. Sword1Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  289.  
  290.  
  291. local Sword2 = Instance.new("Part")
  292. Sword2.Parent = char
  293. Sword2.Name = "SSword2"
  294. Sword2.CanCollide = false
  295. Sword2.Locked = true
  296. Sword2.TopSurface = "Smooth"
  297. Sword2.BottomSurface = "Smooth"
  298. Sword2.formFactor = "Symmetric"
  299. Sword2.BrickColor = BrickColor.new("Really black")
  300. Sword2.CFrame = char.Torso.CFrame
  301. Sword2.Transparency = 1
  302. Sword2.Reflectance = 0.1
  303. Sword2.Size = Vector3.new(1, 1, 1)
  304. b1Weld = Instance.new("Weld")
  305. b1Weld.Parent = char.Torso
  306. b1Weld.Part0 = char.Torso
  307. b1Weld.Part1 = Sword2
  308. b1Weld.Name = "TorsoWeld1"
  309. b1Weld.C0 = CFrame.new(1, -1.5, 0.5) * CFrame.Angles(0.35, 0, 1.57)
  310. Sword2Mesh = Instance.new("SpecialMesh")
  311. Sword2Mesh.MeshType = "FileMesh"
  312. Sword2Mesh.Parent = Sword2
  313. Sword2Mesh.MeshId = "http://www.roblox.com/asset/?id=11442510"
  314. Sword2Mesh.TextureId = "http://www.roblox.com/asset/?id=11442524"
  315. Sword2Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  316.  
  317.  
  318. local Sword3 = Instance.new("Part")
  319. Sword3.Parent = char
  320. Sword3.Name = "SSword3"
  321. Sword3.CanCollide = false
  322. Sword3.Locked = true
  323. Sword3.TopSurface = "Smooth"
  324. Sword3.BottomSurface = "Smooth"
  325. Sword3.formFactor = "Symmetric"
  326. Sword3.BrickColor = BrickColor.new("Really black")
  327. Sword3.CFrame = char.Torso.CFrame
  328. Sword3.Transparency = 1
  329. Sword3.Reflectance = 0.1
  330. Sword3.Size = Vector3.new(1, 1, 1)
  331. b1Weld = Instance.new("Weld")
  332. b1Weld.Parent = char.Torso
  333. b1Weld.Part0 = char.Torso
  334. b1Weld.Part1 = Sword3
  335. b1Weld.Name = "TorsoWeld1"
  336. b1Weld.C0 = CFrame.new(1, -1.5, 0.5) * CFrame.Angles(0.5, 0, 1.57)
  337. Sword3Mesh = Instance.new("SpecialMesh")
  338. Sword3Mesh.MeshType = "FileMesh"
  339. Sword3Mesh.Parent = Sword3
  340. Sword3Mesh.MeshId = "http://www.roblox.com/asset/?id=11442510"
  341. Sword3Mesh.TextureId = "http://www.roblox.com/asset/?id=11442524"
  342. Sword3Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  343.  
  344. end
  345.  
  346. function DrawSwords()
  347. Model1 = Instance.new("Model")
  348. Model1.Parent = char
  349. Model1.Name = "SHold1"
  350. Model2 = Instance.new("Model")
  351. Model2.Parent = char
  352. Model2.Name = "SHold2"
  353. Model3 = Instance.new("Model")
  354. Model3.Parent = char
  355. Model3.Name = "SHold3"
  356. local Sword1 = Instance.new("Part")
  357. Sword1.Parent = Model1
  358. Sword1.Name = "DSword1"
  359. Sword1.CanCollide = false
  360. Sword1.Locked = true
  361. Sword1.TopSurface = "Smooth"
  362. Sword1.BottomSurface = "Smooth"
  363. Sword1.formFactor = "Symmetric"
  364. Sword1.BrickColor = BrickColor.new("Really black")
  365. Sword1.CFrame = char.Torso.CFrame
  366. Sword1.Transparency = 1
  367. Sword1.Reflectance = 0.1
  368. Sword1.Size = Vector3.new(1, 1, 8)
  369. b1Weld = Instance.new("Weld")
  370. b1Weld.Parent = char["Right Arm"]
  371. b1Weld.Part0 = char["Right Arm"]
  372. b1Weld.Part1 = Sword1
  373. b1Weld.Name = "RightSwordWeld"
  374. b1Weld.C0 = CFrame.new(0, -1, -1.5) * CFrame.Angles(0, 3.14, 1.57)
  375. Sword1Mesh = Instance.new("SpecialMesh")
  376. Sword1Mesh.MeshType = "FileMesh"
  377. Sword1Mesh.Parent = Sword1
  378. Sword1Mesh.MeshId = "http://www.roblox.com/asset/?id=11442510"
  379. Sword1Mesh.TextureId = "http://www.roblox.com/asset/?id=11442524"
  380. Sword1Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  381.  
  382.  
  383. local Sword2 = Instance.new("Part")
  384. Sword2.Parent = Model2
  385. Sword2.Name = "DSword2"
  386. Sword2.CanCollide = false
  387. Sword2.Locked = true
  388. Sword2.TopSurface = "Smooth"
  389. Sword2.BottomSurface = "Smooth"
  390. Sword2.formFactor = "Symmetric"
  391. Sword2.BrickColor = BrickColor.new("Really black")
  392. Sword2.CFrame = char.Torso.CFrame
  393. Sword2.Transparency = 1
  394. Sword2.Reflectance = 0.1
  395. Sword2.Size = Vector3.new(1, 1, 8)
  396. b1Weld = Instance.new("Weld")
  397. b1Weld.Parent = char["Left Arm"]
  398. b1Weld.Part0 = char["Left Arm"]
  399. b1Weld.Part1 = Sword2
  400. b1Weld.Name = "LeftSwordWeld"
  401. b1Weld.C0 = CFrame.new(0, -1, -1.5) * CFrame.Angles(0, 3.14, 1.57)
  402. Sword2Mesh = Instance.new("SpecialMesh")
  403. Sword2Mesh.MeshType = "FileMesh"
  404. Sword2Mesh.Parent = Sword2
  405. Sword2Mesh.MeshId = "http://www.roblox.com/asset/?id=11442510"
  406. Sword2Mesh.TextureId = "http://www.roblox.com/asset/?id=11442524"
  407. Sword2Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  408.  
  409.  
  410. local Sword3 = Instance.new("Part")
  411. Sword3.Parent = Model3
  412. Sword3.Name = "DSword3"
  413. Sword3.CanCollide = false
  414. Sword3.Locked = true
  415. Sword3.TopSurface = "Smooth"
  416. Sword3.BottomSurface = "Smooth"
  417. Sword3.formFactor = "Symmetric"
  418. Sword3.BrickColor = BrickColor.new("Really black")
  419. Sword3.CFrame = char.Torso.CFrame
  420. Sword3.Transparency = 1
  421. Sword3.Reflectance = 0.1
  422. Sword3.Size = Vector3.new(1, 1, 8)
  423. b1Weld = Instance.new("Weld")
  424. b1Weld.Parent = char.Head
  425. b1Weld.Part0 = char.Head
  426. b1Weld.Part1 = Sword3
  427. b1Weld.Name = "HeadSwordWeld"
  428. b1Weld.C0 = CFrame.new(-1.5, -0.25, -0.5) * CFrame.Angles(0, -1.57, 0)
  429. Sword3Mesh = Instance.new("SpecialMesh")
  430. Sword3Mesh.MeshType = "FileMesh"
  431. Sword3Mesh.Parent = Sword3
  432. Sword3Mesh.MeshId = "http://www.roblox.com/asset/?id=11442510"
  433. Sword3Mesh.TextureId = "http://www.roblox.com/asset/?id=11442524"
  434. Sword3Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  435. end
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442. function select(mouse)
  443. DrawSwords()
  444. LShoulder.C0 = LShoulderC0 * CFrame.Angles(0, -1, -0.75)
  445. wait(0.5)
  446. char.SSword1.Transparency = 1
  447. char.SHold2.DSword2.Transparency = 0
  448. wait(0.5)
  449. LShoulder.C0 = LShoulderC0 * CFrame.Angles(0, -1, -2)
  450. wait(0.5)
  451. char.SHold2.DSword2.Transparency = 1
  452. char.SHold3.DSword3.Transparency = 0
  453. wait(0.5)
  454. LShoulder.C0 = LShoulderC0 * CFrame.Angles(0, -1, -0.75)
  455. char.SSword2.Transparency = 1
  456. wait(0.5)
  457. char.SHold2.DSword2.Transparency = 0
  458. wait(0.5)
  459. NilLimbs()
  460. wait(0.25)
  461. RShoulder.C0 = RShoulderC0 * CFrame.Angles(0, 0, -0.75)
  462. char.SSword3.Transparency = 1
  463. wait(0.5)
  464. char.SHold1.DSword1.Transparency = 0
  465. wait(0.5)
  466. NilLimbs()
  467. if char:findFirstChild("SSword1") ~= nil then
  468. char.SSword1:Remove()
  469. end
  470. if char:findFirstChild("SSword2") ~= nil then
  471. char.SSword2:Remove()
  472. end
  473. if char:findFirstChild("SSword3") ~= nil then
  474. char.SSword3:Remove()
  475. end
  476. mouse.Button1Down:connect(function()
  477. if not Busy then
  478. AIM = true
  479. Busy = true
  480. omg = math.random(1, 2)
  481. if omg == 1 then
  482. LShoulder.C0 = LShoulderC0 * CFrame.Angles(0, 1, -3.14)
  483. wait(0.25)
  484. char.SHold2.DSword2.Touched:connect(function(hit)
  485. Slash(hit)
  486. end)
  487. LShoulder.C0 = LShoulderC0 * CFrame.Angles(0, -1, -0.75)
  488. wait(0.25)
  489. end
  490. if omg == 2 then
  491. RShoulder.C0 = RShoulderC0 * CFrame.Angles(0, -1, 3.14)
  492. wait(0.25)
  493. char.SHold1.DSword1.Touched:connect(function(hit)
  494. Slash(hit)
  495. end)
  496. RShoulder.C0 = RShoulderC0 * CFrame.Angles(0, 1, 0.75)
  497. wait(0.25)
  498. end
  499. NilLimbs()
  500. AIM = false
  501. Busy = false
  502. end
  503. end)
  504. mouse.Button2Down:connect(function()
  505. if not Busy then
  506. Busy = true
  507. save = hum.Health
  508. ws = hum.WalkSpeed
  509. wait()
  510. RShoulder.C0 = RShoulderC0 * CFrame.Angles(0, 1, 1.5)
  511. RHip.C0 = RHipC0 * CFrame.Angles(-0.5, 0, 0)
  512. LHip.C0 = LHipC0 * CFrame.Angles(-0.5, 0, 0)
  513. LShoulder.C0 = LShoulderC0 * CFrame.Angles(0, -1, -1.5)
  514. wait(0.1)
  515. torso.Anchored = true
  516.  
  517. for i = 1, 30 do
  518. for i, v in pairs(workspace:GetChildren()) do
  519. if v.Name ~= char.Name then
  520. ztorso = v:findFirstChild("Torso")
  521. zHumanoid = v:findFirstChild("Humanoid")
  522. if ztorso ~= nil and zHumanoid ~= nil then
  523. if (torso.Position-ztorso.Position).magnitude <= 12 then
  524. if hum.Health < save and hum.Health > 0 then
  525. zHumanoid.Health = zHumanoid.Health - 12
  526. for i = 1, 5 do
  527. hum.Health = save
  528. wait()
  529. end
  530. end
  531. end
  532. end
  533. end
  534. end
  535. wait()
  536. end
  537. NilLimbs()
  538. torso.Anchored = false
  539. wait(2)
  540. Busy = false
  541. end
  542. end)
  543. mouse.KeyDown:connect(function(key)
  544. key = key:lower()
  545. if not Busy then
  546. if key == "r" and Busy == false and Energy > 40 then
  547. Energy = Energy - 40
  548. Busy = true
  549. Gyro = Instance.new("BodyGyro")
  550. Gyro.Parent = torso
  551. Gyro.D = 50
  552. Gyro.maxTorque = Vector3.new(0, 0, 0)
  553. Gyro.cframe = torso.CFrame
  554. Velocity = Instance.new("BodyVelocity")
  555. Velocity.Parent = torso
  556. Velocity.maxForce = Vector3.new(0, 0, 0)
  557. torso.Velocity = Vector3.new(0, 100, 0)
  558. local Ball2 = Instance.new("Part")
  559. Ball2.Parent = char
  560. Ball2.Name = "Ball2"
  561. Ball2.CanCollide = false
  562. Ball2.Locked = true
  563. Ball2.TopSurface = "Smooth"
  564. Ball2.BottomSurface = "Smooth"
  565. Ball2.formFactor = "Symmetric"
  566. Ball2.BrickColor = BrickColor.new("White")
  567. Ball2.CFrame = torso.CFrame
  568. Ball2.Transparency = 0
  569. Ball2.Reflectance = 0.1
  570. Ball2.Size = Vector3.new(1, 1, 1)
  571. b2Weld = Instance.new("Weld")
  572. b2Weld.Parent = torso
  573. b2Weld.Part0 = torso
  574. b2Weld.Part1 = Ball2
  575. b2Weld.C0 = CFrame.new(0, 0, 0)
  576. b2Weld.Name = "TorsoWeld2"
  577. Ball2Mesh = Instance.new("SpecialMesh")
  578. Ball2Mesh.MeshType = "FileMesh"
  579. Ball2Mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  580. Ball2Mesh.Parent = Ball2
  581. Ball2Mesh.Scale = Vector3.new(1.5, 3, 1.5)
  582. hum.PlatformStand = true
  583. Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  584. for i = 1, 50 do
  585. Ball2Mesh.Scale = Ball2Mesh.Scale + Vector3.new(1, 1.5, 1)
  586. torso.Velocity = torso.CFrame.lookVector * 0 + Vector3.new(0, 10, 0)
  587. Gyro.cframe = Gyro.cframe * CFrame.Angles(0, 1.4, 0)
  588. for u, c in pairs(workspace:GetChildren()) do
  589. if c.Name ~= char.Name then
  590. h = c:findFirstChild("Humanoid")
  591. t = c:findFirstChild("Torso")
  592. if h ~= nil and t ~= nil then
  593. if (torso.Position-t.Position).magnitude <= 25+i then
  594. if i < 50 then
  595. h.Health = h.Health - 2
  596. t.Velocity = torso.CFrame.lookVector * 500 + Vector3.new(0, 0, 0)
  597. end
  598. if i >= 50 then
  599. if h ~= nil and t ~= nil then
  600. t.Velocity = torso.CFrame.lookVector * 500 + Vector3.new(0, 0, 0)
  601. end
  602. end
  603. end
  604. end
  605. end
  606. end
  607. wait()
  608. end
  609. hum.PlatformStand = false
  610. Ball2:Remove()
  611. wait(0.5)
  612. Gyro.maxTorque = Vector3.new(0, 0, 0)
  613. Gyro:Remove()
  614. Velocity:Remove()
  615. wait(2)
  616. Busy = false
  617. end
  618. if key == "t" and Busy == false and Energy > 20 then
  619. Energy = Energy - 20
  620. Busy = true
  621. local pos = mouse.Hit.p
  622. pos1 = torso.Position
  623. neck.C0 = neck.C0 *CFrame.Angles(0.75, 0, 0)
  624. RShoulder.C0 = RShoulderC0 * CFrame.Angles(0, 1, 0.75)
  625. LShoulder.C0 = LShoulderC0 * CFrame.Angles(0, -1, -0.75)
  626. torso.CFrame = CFrame.new(torso.Position, pos)
  627. wait(1.5)
  628. for i = 1, 25 do
  629. torso.CFrame = CFrame.new(torso.Position, pos)
  630. torso.CFrame = torso.CFrame * CFrame.new(0, 0, -4)
  631. wait(0.01)
  632. end
  633. wait(0.25)
  634. torso.CFrame = CFrame.new(torso.Position, pos)
  635. SavedTorsoCFrame = torso.CFrame
  636. for i = 1, 50 do
  637. ShockWave1 = Instance.new("Part")
  638. ShockWave1.Parent = Workspace
  639. ShockWave1.Size = Vector3.new(math.random(10, 10), math.random(10, 10), math.random(10, 10))
  640. ShockWave1.formFactor = "Symmetric"
  641. ShockWave1.Anchored = true
  642. ShockWave1.CanCollide = false
  643. ShockWave1.Transparency = 1
  644. ShockWave1.TopSurface = "Smooth"
  645. ShockWave1.BottomSurface = "Smooth"
  646. ShockWave1.BrickColor = BrickColor.new("Bright yellow")
  647. ShockWave1.Name = "ShockWavePart"
  648. game.Debris:AddItem(ShockWave1, 0.5)
  649. ShockWave1.CFrame = SavedTorsoCFrame * CFrame.new(0, 3, (i*10)) * CFrame.Angles(0, 0, 0)
  650. for u, c in pairs(workspace:GetChildren()) do
  651. if c.Name ~= char.Name then
  652. h = c:findFirstChild("Humanoid")
  653. t = c:findFirstChild("Torso")
  654. if h ~= nil and t ~= nil then
  655. if (ShockWave1.Position-t.Position).magnitude <= 15 then
  656. t.Velocity = t.CFrame.lookVector * -50 + Vector3.new(0, 50, 0)
  657. t.CFrame = t.CFrame * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  658. h:TakeDamage(20)
  659. end
  660. end
  661. end
  662. end
  663. end
  664. wait(2)
  665. NilLimbs()
  666. Busy = false
  667. end
  668. if key == "b" and Busy == false and Energy > 75 then
  669. Energy = Energy - 75
  670. Busy = true
  671. local pos = mouse.Hit.p
  672. pos1 = torso.Position
  673. slash = Instance.new("Animation")
  674. slash.Parent = script.Parent
  675. slash.AnimationId = "http://www.roblox.com/Asset?ID=74897796"
  676. slash.Name = "PowerSlash"
  677. game.Debris:AddItem(slash, 6)
  678. slash = hum:LoadAnimation(slash)
  679. wait()
  680. slash:Play()
  681. torso.CFrame = CFrame.new(torso.Position, pos)
  682. torso.Anchored = true
  683. hum.PlatformStand = true
  684. wait(0.15)
  685. p = Instance.new("Part")
  686. p.Parent = game.Workspace
  687. p.CanCollide = false
  688. p.Name = "StrongFireMagic"
  689. p.Size = Vector3.new(1, 1, 1)
  690. p.BrickColor = BrickColor.new("Camo")
  691. p.Transparency = 0
  692. p.Reflectance = 0.25
  693. p.TopSurface = "Smooth"
  694. p.BottomSurface = "Smooth"
  695. p.Shape = "Ball"
  696. p.CFrame = torso.CFrame * CFrame.new(0, 0, -15)
  697. Owner = Instance.new("StringValue")
  698. Owner.Parent = p
  699. Owner.Name = "Owner"
  700. Owner.Value = char.Name
  701. d = Instance.new("BodyGyro")
  702. d.Parent = p
  703. d.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  704. d.cframe = CFrame.fromEulerAnglesXYZ(0, 0, 0)
  705. b = Instance.new("BodyVelocity")
  706. b.Parent = p
  707. b.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  708. b.velocity = torso.CFrame.lookVector * 120
  709. m = Instance.new("SpecialMesh")
  710. m.MeshType = "Sphere"
  711. m.Scale = Vector3.new(15, 0.5, 15)
  712. m.Parent = p
  713. for i = 1, 30 do
  714. for u, c in pairs(workspace:GetChildren()) do
  715. if c.Name ~= char.Name then
  716. h = c:findFirstChild("Humanoid")
  717. t = c:findFirstChild("Torso")
  718. if h ~= nil and t ~= nil then
  719. if (p.Position-t.Position).magnitude <= 15 then
  720. t.Velocity = t.CFrame.lookVector * -50 + Vector3.new(0, 50, 0)
  721. t.CFrame = t.CFrame * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  722. h:TakeDamage(10)
  723. end
  724. end
  725. end
  726. end
  727. wait()
  728. end
  729. p:Remove()
  730. wait()
  731. slash:Remove()
  732. torso.CFrame = CFrame.new(torso.Position, pos)
  733. torso.Anchored = false
  734. hum.PlatformStand = false
  735. NilLimbs()
  736. Busy = false
  737. end
  738. end
  739. end)
  740. end
  741.  
  742. function deselect(mouse)
  743. PutAway()
  744. LShoulder.C0 = LShoulderC0 * CFrame.Angles(0, -1, -0.75)
  745. wait(0.25)
  746. char.SHold2.DSword2.Transparency = 1
  747. wait(0.25)
  748. char.SSword3.Transparency = 0
  749. LShoulder.C0 = LShoulderC0 * CFrame.Angles(0, -1, -2)
  750. wait(0.25)
  751. char.SHold2.DSword2.Transparency = 0
  752. char.SHold3.DSword3.Transparency = 1
  753. wait(0.25)
  754. LShoulder.C0 = LShoulderC0 * CFrame.Angles(0, -1, -0.75)
  755. wait(0.25)
  756. char.SHold2.DSword2.Transparency = 1
  757. char.SSword2.Transparency = 0
  758. wait(0.25)
  759. RShoulder.C0 = RShoulderC0 * CFrame.Angles(0, 0, -0.75)
  760. wait(0.25)
  761. char.SHold1.DSword1.Transparency = 1
  762. char.SSword1.Transparency = 0
  763. wait(0.25)
  764. if char:findFirstChild("SHold1") ~= nil then
  765. char.SHold1:Remove()
  766. end
  767. if char:findFirstChild("SHold2") ~= nil then
  768. char.SHold2:Remove()
  769. end
  770. if char:findFirstChild("SHold3") ~= nil then
  771. char.SHold3:Remove()
  772. end
  773. NilLimbs()
  774. end
  775. if script.Parent.className ~= "HopperBin" then
  776. h = Instance.new("HopperBin",me.Backpack)
  777. h.Name = "Three Sword Style"
  778. script.Parent = h
  779. end
  780.  
  781. bin = script.Parent
  782.  
  783. bin.Selected:connect(select)
  784. bin.Deselected:connect(deselect)
  785.  
  786. while true do
  787. if char:findFirstChild("Humanoid") ~= nil then
  788. E.Size = UDim2.new(me.Character.Humanoid.Health * 0.01, 0, 0.1, 0)
  789. end
  790. F.Size = UDim2.new(Energy * 0.01, 0, 0.1, 0)
  791. if char:findFirstChild("Humanoid") ~= nil then
  792. G.Text = "Health:"..me.Character.Humanoid.Health..""
  793. end
  794. H.Text = "Energy:"..Energy..""
  795. if Energy < 100 and Busy == false then
  796. Energy = Energy + 0.5
  797. end
  798. if Energy > 100 then
  799. Energy = 100
  800. end
  801.  
  802. ---------------------------------------------------------------------------------------------------------
  803. wait()
  804. end
Add Comment
Please, Sign In to add comment