Advertisement
BINO2002

Untitled

Feb 19th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.99 KB | None | 0 0
  1. player = game.Players.BINO2002
  2. if script.Parent:IsA("Tool") then return end
  3. tool = Instance.new("Tool")
  4. script.Parent = tool
  5. tool.GripPos = Vector3.new(0, -1, 0)
  6. tool.Name = "Le Lanza"
  7. tool.Parent = player.Backpack
  8. local clicks = Instance.new("NumberValue")
  9. clicks.Parent = tool
  10. clicks.Value = 0
  11. handle = Instance.new("Part")
  12. handle.Name = "Handle"
  13. handle.Size = Vector3.new(1,7,1)
  14. handle.TopSurface = 0
  15. handle.BottomSurface = 0
  16. handle.BrickColor = BrickColor.new("Brown")
  17. local mesh = Instance.new("CylinderMesh")
  18. mesh.Parent = handle
  19. mesh.Scale = Vector3.new(0.3, 1, 0.3)
  20.  
  21. --NECESSARY NEEDS
  22.  
  23. local sla = Instance.new("Sound")
  24. sla.Parent = handle
  25. sla.Volume = 1
  26. sla.SoundId = "rbxasset://sounds\\swordslash.wav"
  27.  
  28. local handle2 = Instance.new("Part")
  29. handle2.Size = Vector3.new(1,1,2)
  30. handle2.TopSurface = 0
  31. handle2.BottomSurface = 0
  32. handle2.BrickColor = BrickColor.new("Medium stone grey")
  33. handle2.CanCollide = false
  34. local mesh2 = Instance.new("SpecialMesh")
  35. mesh2.Parent = handle2
  36. mesh2.MeshType = "FileMesh"
  37. mesh2.MeshId = "http://www.roblox.com/asset/?id=1033714"
  38. mesh2.Scale = Vector3.new(0.3, 1.7, 0.3)
  39. local handle3 = Instance.new("Part")
  40. handle3.Size = Vector3.new(1,1,1)
  41. handle3.TopSurface = 0
  42. handle3.BottomSurface = 0
  43. handle3.BrickColor = BrickColor.new("Medium stone grey")
  44. handle3.CanCollide = false
  45. local mesh3 = Instance.new("SpecialMesh")
  46. mesh3.Parent = handle3
  47. mesh3.MeshType = "FileMesh"
  48. mesh3.MeshId = "http://www.roblox.com/asset/?id=1033714"
  49. mesh3.Scale = Vector3.new(0.3, 0.5, 0.3)
  50. local handle4 = Instance.new("Part")
  51. handle4.Size = Vector3.new(1,1,1)
  52. handle4.TopSurface = 0
  53. handle4.BottomSurface = 0
  54. handle4.CanCollide = false
  55. handle4.BrickColor = BrickColor.new(21)
  56. local mesh4 = Instance.new("BlockMesh")
  57. mesh4.Parent = handle4
  58. mesh4.Scale = Vector3.new(0.296, 5, 0.1)
  59. local handle5 = handle4:clone()
  60. handle5.Mesh.Scale = Vector3.new(0.1,5,0.296)
  61. handle5.Name = "Handle5"
  62. local handle6 = Instance.new("Part")
  63. handle6.Size = Vector3.new(1,1,1)
  64. handle6.TopSurface = 0
  65. handle6.BottomSurface = 0
  66. handle6.CanCollide = false
  67. handle6.BrickColor = BrickColor.new(21)
  68. local mesh6 = Instance.new("SpecialMesh")
  69. mesh6.Parent = handle6
  70. mesh6.Scale = Vector3.new(0.36, 0.4, 0.36)
  71. local handle7 = handle6:clone()
  72. local handle8 = handle6:clone()
  73. handle.Parent = tool
  74. handle2.Parent = tool
  75. handle3.Parent = tool
  76. handle4.Parent = tool
  77. handle5.Parent = tool
  78. handle6.Parent = tool
  79. handle7.Parent = tool
  80. handle8.Parent = tool
  81.  
  82. brick1 = Instance.new("Part")
  83. brick1.Parent = player.Character
  84. brick1.formFactor = "Symmetric"
  85. brick1.Size = Vector3.new(1,1,1)
  86. brick1.CFrame = player.Character.Torso.CFrame * CFrame.new(-1.5,0.5,0)
  87. brick1.Shape = "Ball"
  88. brick1.CanCollide = false
  89. brick1.Transparency = 1
  90. mesh1 = Instance.new("SpecialMesh")
  91. mesh1.Parent = brick1
  92. mesh1.MeshType = "Sphere"
  93. mesh1.Scale = Vector3.new(1.4,1.4,1.4)
  94. brick2 = Instance.new("Part")
  95. brick2.Parent = player.Character
  96. brick2.formFactor = "Symmetric"
  97. brick2.Size = Vector3.new(1,1,1)
  98. brick2.CFrame = player.Character.Torso.CFrame * CFrame.new(1.5,0.5,0)
  99. brick2.Shape = "Ball"
  100. brick2.CanCollide = false
  101. brick2.Transparency = 1
  102. mesh2 = Instance.new("SpecialMesh")
  103. mesh2.Parent = brick2
  104. mesh2.MeshType = "Sphere"
  105. mesh2.Scale = Vector3.new(1.4,1.4,1.4)
  106. wads = Instance.new("Weld")
  107. wads.Parent = player.Character.Torso
  108. wads.Part0 = wads.Parent
  109. wads.Part1 = brick1
  110. wads.C1 = CFrame.new(-1.5,-0.5,0)
  111. wads2 = Instance.new("Weld")
  112. wads2.Parent = player.Character.Torso
  113. wads2.Part0 = wads2.Parent
  114. wads2.Part1 = brick2
  115. wads2.C1 = CFrame.new(1.5,-0.5,0)
  116. lewe = Instance.new("Weld")
  117. riwe = Instance.new("Weld")
  118. lewe.C1 = CFrame.fromEulerAnglesXYZ(-1,0,-0.7) * CFrame.new(-0.28,0.25,0.3)
  119. riwe.C1 = CFrame.fromEulerAnglesXYZ(-1.57,-0.4,-1.46) * CFrame.new(0,0.3,0.5)
  120.  
  121. --OnEquip function
  122.  
  123. function equip()
  124. lewe.Parent = brick2
  125. lewe.Part0 = lewe.Parent
  126. lewe.Part1 = player.Character["Left Arm"]
  127. lewe.C1 = CFrame.fromEulerAnglesXYZ(-1,0,-0.7) * CFrame.new(-0.28,0.25,0.3)
  128. riwe.Parent = brick1
  129. riwe.Part0 = riwe.Parent
  130. riwe.Part1 = player.Character["Right Arm"]
  131. riwe.C1 = CFrame.fromEulerAnglesXYZ(-1.57,-0.4,-1.46) * CFrame.new(0,0.3,0.5)
  132. local w1 = Instance.new("Weld")
  133. w1.Parent = handle
  134. w1.Part0 = w1.Parent
  135. w1.Part1 = handle2
  136. w1.C1 = CFrame.new(0, -3.6, 0)
  137. local w2 = Instance.new("Weld")
  138. w2.Parent = handle
  139. w2.Part0 = w1.Parent
  140. w2.Part1 = handle3
  141. w2.C1 = CFrame.fromEulerAnglesXYZ(0,0,3.2) * CFrame.new(0, -2.79, 0)
  142. local w3 = Instance.new("Weld")
  143. w3.Parent = handle
  144. w3.Part0 = w1.Parent
  145. w3.Part1 = handle4
  146. w3.C1 = CFrame.new(0, 0.5, 0)
  147. local w4 = Instance.new("Weld")
  148. w4.Parent = handle
  149. w4.Part0 = w1.Parent
  150. w4.Part1 = handle5
  151. w4.C1 = CFrame.new(0, 0.5, 0)
  152. local w5 = Instance.new("Weld")
  153. w5.Parent = handle
  154. w5.Part0 = w1.Parent
  155. w5.Part1 = handle6
  156. w5.C1 = CFrame.new(0, 1, 0)
  157. local w6 = Instance.new("Weld")
  158. w6.Parent = handle
  159. w6.Part0 = w1.Parent
  160. w6.Part1 = handle7
  161. w6.C1 = CFrame.new(0, 1.5, 0)
  162. local w7 = Instance.new("Weld")
  163. w7.Parent = handle
  164. w7.Part0 = w1.Parent
  165. w7.Part1 = handle8
  166. w7.C1 = CFrame.new(0, 0.5, 0)
  167. end
  168. local fire = Instance.new("Fire")
  169. fire.Parent = handle
  170. fire.Size = 1
  171. fire.Heat = 5
  172. local fire2 = Instance.new("Fire")
  173. fire2.Parent = handle4
  174. fire2.Size = 1
  175. fire2.Heat = 5
  176. fire.Enabled = false
  177. fire2.Enabled = false
  178.  
  179. --KILL FUNCTION
  180.  
  181. function b(h)
  182. if h.Parent.className == "Hat" then return end
  183. local hum = h.Parent:findFirstChild("Humanoid")
  184. if hum ~= nil then
  185. local par = game.Players:findFirstChild(h.Parent.Name)
  186. if par ~= nil then
  187. local dam = math.random(5,15)
  188. hum.Health = hum.Health - dam
  189. local sho = Instance.new("BillboardGui")
  190. sho.Parent = game.Workspace
  191. sho.Size = UDim2.new(0,150,0,150)
  192. sho.Adornee = hum.Parent.Head
  193. local showdmg = Instance.new("TextLabel")
  194. showdmg.Parent = sho
  195. showdmg.Size = UDim2.new(0,40,0,40)
  196. showdmg.Text = dam
  197. showdmg.TextColor = BrickColor.new("Really black")
  198. showdmg.BackgroundColor = BrickColor.new("Bright red")
  199. showdmg.FontSize = "Size12"
  200. showdmg.Position = UDim2.new(0,math.random(-70,70),0,math.random(-120,-60))
  201. showdmg.BackgroundTransparency = 0
  202. showdmg.Visible = true
  203. for i=1, 4 do
  204. local blood = Instance.new("Part")
  205. blood.Parent = game.Workspace
  206. blood.BrickColor = BrickColor.new(21)
  207. blood.formFactor = "Plate"
  208. blood.Size = Vector3.new(1, 0.4, 1)
  209. blood.CFrame = h.CFrame
  210. blood.TopSurface = "Smooth"
  211. blood.BottomSurface = "Smooth"
  212. blood.Name = "Blood"
  213. blood.Anchored = false
  214. blood.Velocity = Vector3.new(math.random(-20,20), math.random(-10,30), math.random(-20,20))
  215. blood.RotVelocity = Vector3.new(math.random(-30,40), math.random(-30,30), math.random(-30,30))
  216. blood.CanCollide = false
  217. blood:breakJoints()
  218. local mesff = Instance.new("SpecialMesh")
  219. mesff.Parent = blood
  220. mesff.MeshType = "Brick"
  221. mesff.Scale = Vector3.new(0.6, 0.6, 0.6)
  222. end
  223. wait(0.5)
  224. sho:remove()
  225. end
  226. end
  227. end
  228.  
  229. handle2.Touched:connect(b)
  230.  
  231. riwesa = riwe.C1
  232. lewesa = lewe.C1
  233.  
  234. function effect()
  235. local p1 = handle:clone()
  236. p1.Parent = game.Workspace
  237. p1.BrickColor = BrickColor.new(21)
  238. p1.Transparency = 0.2
  239. p1.CFrame = handle.CFrame
  240. p1.CanCollide = false
  241. p1.Anchored = true
  242. p1.Sound:remove()
  243. local p2 = handle2:clone()
  244. p2.Parent = game.Workspace
  245. p2.BrickColor = BrickColor.new(21)
  246. p2.Transparency = 0.2
  247. p2.CFrame = handle2.CFrame
  248. p2.CanCollide = false
  249. p2.Anchored = true
  250. local p3 = handle3:clone()
  251. p3.Parent = game.Workspace
  252. p3.BrickColor = BrickColor.new(21)
  253. p3.Transparency = 0.2
  254. p3.CFrame = handle3.CFrame
  255. p3.CanCollide = false
  256. p3.Anchored = true
  257. coroutine.resume(coroutine.create(function()
  258. for i = 1, 8 do
  259. wait(0.01)
  260. p1.Transparency = p1.Transparency + 0.1
  261. p2.Transparency = p2.Transparency + 0.1
  262. p3.Transparency = p3.Transparency + 0.1
  263. end
  264. p1:remove()
  265. p2:remove()
  266. p3:remove()
  267. end))
  268. end
  269. --ATTACKS START HERE
  270.  
  271. function att1()
  272. for i = 1, 9 do
  273. wait(0.01)
  274. riwe.C1 = riwe.C1 * CFrame.fromEulerAnglesXYZ(-0.3,-0.1,0.2)
  275. lewe.C1 = lewe.C1 * CFrame.fromEulerAnglesXYZ(0,0,-0.2)
  276. effect()
  277. end
  278. for i = 1, 7 do
  279. wait(0.01)
  280. riwe.C1 = riwe.C1 * CFrame.fromEulerAnglesXYZ(0.6,0,0)
  281. lewe.C1 = lewe.C1 * CFrame.fromEulerAnglesXYZ(0,0,0.45)
  282. effect()
  283. end
  284. wait(0.01)
  285. riwe.C1 = riwesa
  286. lewe.C1 = lewesa
  287. end
  288.  
  289. function att2()
  290. for i = 1, 6 do
  291. wait(0.01)
  292. riwe.C1 = riwe.C1 * CFrame.fromEulerAnglesXYZ(0,0.4,0.3)
  293. effect()
  294. end
  295. wait(0.01)
  296. riwe.C1 = riwesa
  297. end
  298. function att3()
  299. for i = 1, 6 do
  300. wait(0.01)
  301. riwe.C1 = riwe.C1 * CFrame.fromEulerAnglesXYZ(0,-0.08,0.2)
  302. lewe.C1 = lewe.C1 * CFrame.fromEulerAnglesXYZ(0,0.08,-0.16)
  303. effect()
  304. end
  305. for i = 1, 4 do
  306. wait(0.01)
  307. riwe.C1 = riwe.C1 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  308. lewe.C1 = lewe.C1 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  309. effect()
  310. end
  311. for i = 1, 4 do
  312. wait(0.01)
  313. riwe.C1 = riwe.C1 * CFrame.fromEulerAnglesXYZ(0.9,0,0)
  314. lewe.C1 = lewe.C1 * CFrame.fromEulerAnglesXYZ(0.9,0,0)
  315. effect()
  316. end
  317. wait(0.01)
  318. riwe.C1 = riwesa
  319. lewe.C1 = lewesa
  320. end
  321.  
  322. function att4()
  323. local spin = Instance.new("BodyAngularVelocity")
  324. spin.maxTorque = Vector3.new(1000000,1000000,1000000)
  325. spin.angularvelocity = Vector3.new(0,15,0)
  326. for i = 1, 4 do
  327. wait(0.02)
  328. riwe.C1 = riwe.C1 * CFrame.fromEulerAnglesXYZ(0,0.4,0.3)
  329. lewe.C1 = lewe.C1 * CFrame.fromEulerAnglesXYZ(0,-0.4,0)
  330. end
  331. spin.Parent = player.Character.Torso
  332. for i = 1, 20 do
  333. wait(0.01)
  334. local num = math.random(1,3)
  335. if num == 1 then
  336. sla:Play()
  337. sla.Pitch = math.random(0.7,1)
  338. end
  339. local part = Instance.new("Part")
  340. part.Parent = game.Workspace
  341. part.formFactor = "Symmetric"
  342. part.Size = Vector3.new(2,1,1)
  343. part.TopSurface = 0
  344. part.BottomSurface = 0
  345. part.BrickColor = BrickColor.new(21)
  346. part.Transparency = 0.2
  347. part.CFrame = handle2.CFrame
  348. part.CanCollide = false
  349. part.Anchored = true
  350. local mes = Instance.new("BlockMesh")
  351. mes.Parent = part
  352. mes.Scale = Vector3.new(1,1,1)
  353. coroutine.resume(coroutine.create(function()
  354. for i = 1, 8 do
  355. wait(0.02)
  356. part.Transparency = part.Transparency + 0.1
  357. end
  358. part:remove()
  359. end))
  360. end
  361. spin:remove()
  362. sla.Pitch = 1
  363. riwe.C1 = riwesa
  364. lewe.C1 = lewesa
  365. end
  366.  
  367. function att5()
  368. tool.GripPos = Vector3.new(0, 0.5, 0)
  369. for i = 1, 6 do
  370. wait(0.01)
  371. riwe.C1 = riwe.C1 * CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  372. lewe.C1 = lewe.C1 * CFrame.fromEulerAnglesXYZ(0.04,0,0)
  373. end
  374. sla:Play()
  375. for i = 1, 25 do
  376. wait(0.01)
  377. local num = math.random(1,2)
  378. if num == 1 then
  379. sla:Play()
  380. sla.Pitch = math.random(0.6,1)
  381. end
  382. riwe.C1 = riwe.C1 * CFrame.fromEulerAnglesXYZ(0,0,0.75)
  383. lewe.C1 = lewe.C1 * CFrame.fromEulerAnglesXYZ(0,0,0)
  384. effect()
  385. end
  386. for i = 1, 3 do
  387. wait(0.01)
  388. riwe.C1 = riwe.C1 * CFrame.fromEulerAnglesXYZ(0.2,0,0)
  389. lewe.C1 = lewe.C1 * CFrame.fromEulerAnglesXYZ(-0.08,0,0)
  390. end
  391. sla.Pitch = 1
  392. wait(0.01)
  393. tool.GripPos = Vector3.new(0, -1, 0)
  394. riwe.C1 = riwesa
  395. lewe.C1 = lewesa
  396. end
  397.  
  398. --Click function
  399.  
  400. debounce = false
  401. function hit()
  402. clicks.Value = clicks.Value + 1
  403. if clicks.Value == 1 then
  404. debounce = false
  405. sla:Play()
  406. att1()
  407. debounce = true
  408. end
  409. if clicks.Value == 2 then
  410. debounce = false
  411. sla:Play()
  412. att2()
  413. debounce = true
  414. end
  415. if clicks.Value == 3 then
  416. debounce = false
  417. sla:Play()
  418. att3()
  419. end
  420. if clicks.Value == 4 then
  421. debounce = false
  422. sla:Play()
  423. att4()
  424. handle.Touched:connect(b)
  425. end
  426. if clicks.Value == 5 then
  427. debounce = false
  428. sla:Play()
  429. att5()
  430. clicks.Value = 0
  431. debounce = true
  432. handle.Touched:connect(b)
  433. end
  434. end
  435.  
  436. function onActivated()
  437. if not tool.Enabled then
  438. return
  439. end
  440.  
  441. tool.Enabled = false
  442. hit()
  443. tool.Enabled = true
  444.  
  445. end
  446.  
  447. tool.Activated:connect(onActivated)
  448.  
  449. function uneq()
  450. lewe.Part0 = nil
  451. lewe.Part1 = nil
  452. riwe.Part0 = nil
  453. riwe.Part1 = nil
  454. end
  455. tool.Unequipped:connect(uneq)
  456. tool.Equipped:connect(equip)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement