Advertisement
akungcastgamer

Untitled

May 4th, 2016
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.43 KB | None | 0 0
  1. --Assassin Staff Gifted by machontz, Local Script!
  2.  
  3. User = game.Players.akung123
  4. player = User
  5.  
  6. moving = false
  7.  
  8. for i,v in pairs(player.Character:GetChildren()) do
  9. if v:IsA("CharacterMesh") then
  10. v:Remove()
  11. elseif v.Name == "Shirt" then
  12. v:Remove()
  13. elseif v.Name == "Pants" then
  14. v:Remove()
  15. elseif v:IsA("Hat") then
  16. v:Remove()
  17. elseif v.Name == "Head" then
  18. v.Transparency = 1
  19. local fi = Instance.new("Fire",v)
  20. fi.Color = BrickColor.new("Really red").Color
  21. fi.SecondaryColor = BrickColor.new("Magenta").Color
  22. fi.Size = 3
  23. if v:FindFirstChild("face") ~= nil then
  24. v.face:Remove()
  25. end
  26. elseif v:IsA("Part") and v.Name ~= "Head" then
  27. v.Transparency = 1
  28. local p = Instance.new("Part",v.Parent)
  29. p.Name = "Replacement"
  30. p.formFactor = "Custom"
  31. p.Size = v.Size
  32. p.TopSurface = 0
  33. p.BottomSurface = 0
  34. p.Position = v.Position
  35. p.Transparency = 0
  36. p.Reflectance = 0.5
  37. p.BrickColor = BrickColor.new("Toothpaste")
  38. p.CanCollide = false
  39. local bevel = Instance.new("BlockMesh",p)
  40. bevel.Bevel = 0.05
  41. local weld = Instance.new("Weld",p)
  42. weld.Part0 = v
  43. weld.Part1 = p
  44. end
  45. end
  46.  
  47.  
  48. local h = Instance.new("Part",player.Character)
  49. h.Name = "Hood"
  50. h.formFactor = "Custom"
  51. h.Size = Vector3.new(1,1,1)
  52. h.TopSurface = 0
  53. h.Reflectance = 0.5
  54. h.BottomSurface = 0
  55. h.Position = h.Parent.Head.Position
  56. h.BrickColor = BrickColor.new("Toothpaste")
  57. local x = Instance.new("Weld",h)
  58. x.Part0 = h
  59. x.Part1 = player.Character:FindFirstChild("Head")
  60. x.C0 = x.C0 + Vector3.new(0,-0.3,0)
  61. local sp = Instance.new("SpecialMesh",h)
  62. sp.MeshType = "FileMesh"
  63. sp.MeshId = "http://www.roblox.com/asset/?id=16952952"
  64.  
  65.  
  66. --lego
  67. local Light_ = false
  68. Char = User.Character
  69. Char.Humanoid.MaxHealth = 10000000000000000000000000
  70. wait(0.05)
  71. Char.Humanoid.Health = 10000000000000000000000000
  72. cen = Instance.new("Part", User.Character)
  73. cen.BottomSurface = "Smooth"
  74. cen.TopSurface = "Smooth"
  75. cen.CanCollide = false
  76. cen.formFactor = "Symmetric"
  77. cen.Size = Vector3.new(1,1,1)
  78. cen.BrickColor = BrickColor.new("Really black")
  79. cen.Transparency = 1
  80. cen2 = Instance.new("Part", User.Character)
  81. cen2.BottomSurface = "Smooth"
  82. cen2.TopSurface = "Smooth"
  83. cen2.CanCollide = false
  84. cen2.formFactor = "Symmetric"
  85. cen2.Size = Vector3.new(1,1,1)
  86. cen2.BrickColor = BrickColor.new("Really black")
  87. cen2.Transparency = 1
  88.  
  89. cenw = Instance.new("Weld", cen)
  90. cenw.Part0 = Char["Torso"]
  91. cenw.Part1 = cen
  92. cenw.C1 = CFrame.new(-1.5,-0.5,0)
  93.  
  94. cenw2 = Instance.new("Weld", cen2)
  95. cenw2.Part0 = Char["Torso"]
  96. cenw2.Part1 = cen2
  97. cenw2.C1 = CFrame.new(1.5,-0.5,0)
  98.  
  99.  
  100.  
  101. haw = Instance.new("Weld", cen)
  102. haw.Part0 = cen
  103. haw.Part1 = Char["Right Arm"]
  104. haw.C1 = CFrame.new(0,0.5,0)
  105.  
  106. haw2 = Instance.new("Weld", cen2)
  107. haw2.Part0 = cen2
  108. haw2.Part1 = Char["Left Arm"]
  109. haw2.C1 = CFrame.new(0,0.5,0)
  110.  
  111. --[[haw.C0 = CFrame.Angles(math.rad(80),0,math.rad(-15))
  112. haw.C1 = CFrame.new(0.5,1,0)
  113.  
  114. haw2.C0 = CFrame.Angles(math.rad(80),0,math.rad(35))
  115. haw2.C1 = CFrame.new(0,1.2,0)--]]
  116.  
  117. haw.Part1 = nil
  118. haw2.Part1 = nil
  119. --[[
  120. prtW.Part0 = Char["Right Arm"]
  121. prtW.Part1 = prt1
  122. prtW.C1 = CFrame.new(0,0,0.65)*CFrame.Angles(math.rad(0),0,math.rad(0))
  123. --]]
  124.  
  125. prt1 = Instance.new("Part", Char)
  126. prt1.Size = Vector3.new(1,1,1)
  127. prt1.CanCollide = false
  128. prt1.BrickColor = BrickColor.new("Institutional white")
  129. prt1.TopSurface = "Smooth"
  130. prt1.Transparency = 0
  131. prt1.BottomSurface = "Smooth"
  132. prtM = Instance.new("CylinderMesh", prt1)
  133. prtM.Scale = Vector3.new(0.15,5,0.15)
  134. prt1:BreakJoints()
  135. prtW = Instance.new("Weld", prt1)
  136. prtW.Part0 = Char["Right Arm"]
  137. prtW.Part1 = prt1
  138. prtW.C1 = CFrame.new(0,0,1)*CFrame.Angles(math.rad(90),0,math.rad(0))
  139.  
  140. prt2 = Instance.new("Part", Char)
  141. prt2.Size = Vector3.new(1,1,1)
  142. prt2.CanCollide = false
  143. prt2.BrickColor = BrickColor.new("Toothpaste")
  144. prt2.TopSurface = "Smooth"
  145. prt2.Transparency = 0
  146. prt2.BottomSurface = "Smooth"
  147. prt2.Reflectance = 0.5
  148. prtM2 = Instance.new("SpecialMesh", prt2)
  149. prtM2.Scale = Vector3.new(1,2,1)
  150. prtM2.MeshType = "FileMesh"
  151. prtM2.MeshId = "http://www.roblox.com/asset/?id=9756362"
  152. prt2:BreakJoints()
  153. prtW2 = Instance.new("Weld", prt2)
  154. prtW2.Part0 = prt1
  155. prtW2.Part1 = prt2
  156. prtW2.C1 = CFrame.new(0,-3.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  157.  
  158. prt2.Touched:connect(function(hit)
  159. if hit.Parent:findFirstChild("Humanoid") and hit.Parent.Name ~= User.Name and moving == true then
  160. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - hit.Parent.Humanoid.MaxHealth/20
  161. end
  162. end)
  163.  
  164. prt3 = Instance.new("Part", Char)
  165. prt3.Size = Vector3.new(1,1,1)
  166. prt3.CanCollide = false
  167. prt3.BrickColor = BrickColor.new("Toothpaste")
  168. prt3.TopSurface = "Smooth"
  169. prt3.Transparency = 0
  170. prt3.BottomSurface = "Smooth"
  171. prt3.Reflectance = 0.5
  172. prtM3 = Instance.new("SpecialMesh", prt3)
  173. prtM3.Scale = Vector3.new(0.5,1,0.5)
  174. prtM3.MeshType = "FileMesh"
  175. prtM3.MeshId = "http://www.roblox.com/asset/?id=9756362"
  176. prt3:BreakJoints()
  177. prtW3 = Instance.new("Weld", prt3)
  178. prtW3.Part0 = prt1
  179. prtW3.Part1 = prt3
  180. prtW3.C1 = CFrame.new(0,3,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  181.  
  182. prt4 = Instance.new("Part", Char)
  183. prt4.Size = Vector3.new(1,1,1)
  184. prt4.CanCollide = false
  185. prt4.BrickColor = BrickColor.new("Really black")
  186. prt4.TopSurface = "Smooth"
  187. prt4.Transparency = 1
  188. prt4.BottomSurface = "Smooth"
  189. prt4.Reflectance = 0
  190. prtM4 = Instance.new("CylinderMesh", prt4)
  191. prtM4.Scale = Vector3.new(0.1,1.05,0.1)
  192. prt4:BreakJoints()
  193. prtW4 = Instance.new("Weld", prt4)
  194. prtW4.Part0 = prt2
  195. prtW4.Part1 = prt4
  196. prtW4.C1 = CFrame.new(0.5,0.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  197.  
  198. prt5 = Instance.new("Part", Char)
  199. prt5.Size = Vector3.new(1,1,1)
  200. prt5.CanCollide = false
  201. prt5.BrickColor = BrickColor.new("Really black")
  202. prt5.TopSurface = "Smooth"
  203. prt5.Transparency = 1
  204. prt5.BottomSurface = "Smooth"
  205. prt5.Reflectance = 0
  206. prtM5 = Instance.new("CylinderMesh", prt5)
  207. prtM5.Scale = Vector3.new(0.1,1.05,0.1)
  208. prt5:BreakJoints()
  209. prtW5 = Instance.new("Weld", prt5)
  210. prtW5.Part0 = prt2
  211. prtW5.Part1 = prt5
  212. prtW5.C1 = CFrame.new(0.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0))
  213.  
  214. prt6 = Instance.new("Part", Char)
  215. prt6.Size = Vector3.new(1,1,1)
  216. prt6.CanCollide = false
  217. prt6.BrickColor = BrickColor.new("Really black")
  218. prt6.TopSurface = "Smooth"
  219. prt6.Transparency = 1
  220. prt6.BottomSurface = "Smooth"
  221. prt6.Reflectance = 0
  222. prtM6 = Instance.new("CylinderMesh", prt6)
  223. prtM6.Scale = Vector3.new(0.1,1.05,0.1)
  224. prt6:BreakJoints()
  225. prtW6 = Instance.new("Weld", prt6)
  226. prtW6.Part0 = prt2
  227. prtW6.Part1 = prt6
  228. prtW6.C1 = CFrame.new(0.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(-180),math.rad(0))
  229.  
  230. prt7 = Instance.new("Part", Char)
  231. prt7.Size = Vector3.new(1,1,1)
  232. prt7.CanCollide = false
  233. prt7.BrickColor = BrickColor.new("Really black")
  234. prt7.TopSurface = "Smooth"
  235. prt7.Transparency = 1
  236. prt7.BottomSurface = "Smooth"
  237. prt7.Reflectance = 0
  238. prtM7 = Instance.new("CylinderMesh", prt7)
  239. prtM7.Scale = Vector3.new(0.1,1.05,0.1)
  240. prt7:BreakJoints()
  241. prtW7 = Instance.new("Weld", prt7)
  242. prtW7.Part0 = prt2
  243. prtW7.Part1 = prt7
  244. prtW7.C1 = CFrame.new(0.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(-270),math.rad(0))
  245.  
  246. prt8 = Instance.new("Part", Char)
  247. prt8.Size = Vector3.new(1,1,1)
  248. prt8.CanCollide = false
  249. prt8.BrickColor = BrickColor.new("Toothpaste")
  250. prt8.TopSurface = "Smooth"
  251. prt8.Transparency = 0
  252. prt8.BottomSurface = "Smooth"
  253. prt8.Reflectance = 0.5
  254. prtM8 = Instance.new("SpecialMesh", prt8)
  255. prtM8.Scale = Vector3.new(0.25,0.5,0.25)
  256. prtM8.MeshType = "FileMesh"
  257. prtM8.MeshId = "http://www.roblox.com/asset/?id=9756362"
  258. prt8:BreakJoints()
  259. prtW8 = Instance.new("Weld", prt8)
  260. prtW8.Part0 = prt4
  261. prtW8.Part1 = prt8
  262. prtW8.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  263.  
  264. prt9 = Instance.new("Part", Char)
  265. prt9.Size = Vector3.new(1,1,1)
  266. prt9.CanCollide = false
  267. prt9.BrickColor = BrickColor.new("Toothpaste")
  268. prt9.TopSurface = "Smooth"
  269. prt9.Transparency = 0
  270. prt9.BottomSurface = "Smooth"
  271. prt9.Reflectance = 0.5
  272. prtM9 = Instance.new("SpecialMesh", prt9)
  273. prtM9.Scale = Vector3.new(0.25,0.5,0.25)
  274. prtM9.MeshType = "FileMesh"
  275. prtM9.MeshId = "http://www.roblox.com/asset/?id=9756362"
  276. prt9:BreakJoints()
  277. prtW9 = Instance.new("Weld", prt9)
  278. prtW9.Part0 = prt5
  279. prtW9.Part1 = prt9
  280. prtW9.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  281.  
  282. prt10 = Instance.new("Part", Char)
  283. prt10.Size = Vector3.new(1,1,1)
  284. prt10.CanCollide = false
  285. prt10.BrickColor = BrickColor.new("Toothpaste")
  286. prt10.TopSurface = "Smooth"
  287. prt10.Transparency = 0
  288. prt10.BottomSurface = "Smooth"
  289. prt10.Reflectance = 0.5
  290. prtM10 = Instance.new("SpecialMesh", prt10)
  291. prtM10.Scale = Vector3.new(0.25,0.5,0.25)
  292. prtM10.MeshType = "FileMesh"
  293. prtM10.MeshId = "http://www.roblox.com/asset/?id=9756362"
  294. prt10:BreakJoints()
  295. prtW10 = Instance.new("Weld", prt10)
  296. prtW10.Part0 = prt6
  297. prtW10.Part1 = prt10
  298. prtW10.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  299.  
  300. prt11 = Instance.new("Part", Char)
  301. prt11.Size = Vector3.new(1,1,1)
  302. prt11.CanCollide = false
  303. prt11.BrickColor = BrickColor.new("Toothpaste")
  304. prt11.TopSurface = "Smooth"
  305. prt11.Transparency = 0
  306. prt11.BottomSurface = "Smooth"
  307. prt11.Reflectance = 0.5
  308. prtM11 = Instance.new("SpecialMesh", prt11)
  309. prtM11.Scale = Vector3.new(0.25,0.5,0.25)
  310. prtM11.MeshType = "FileMesh"
  311. prtM11.MeshId = "http://www.roblox.com/asset/?id=9756362"
  312. prt11:BreakJoints()
  313. prtW11 = Instance.new("Weld", prt11)
  314. prtW11.Part0 = prt7
  315. prtW11.Part1 = prt11
  316. prtW11.C1 = CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  317.  
  318.  
  319. -----------------
  320.  
  321. prt8 = Instance.new("Part", Char)
  322. prt8.Size = Vector3.new(1,1,1)
  323. prt8.CanCollide = false
  324. prt8.BrickColor = BrickColor.new("Toothpaste")
  325. prt8.TopSurface = "Smooth"
  326. prt8.Transparency = 0
  327. prt8.BottomSurface = "Smooth"
  328. prt8.Reflectance = 0.5
  329. prtM8 = Instance.new("SpecialMesh", prt8)
  330. prtM8.Scale = Vector3.new(0.25/2,0.25,0.25/2)
  331. prtM8.MeshType = "FileMesh"
  332. prtM8.MeshId = "http://www.roblox.com/asset/?id=9756362"
  333. prt8:BreakJoints()
  334. prtW8 = Instance.new("Weld", prt8)
  335. prtW8.Part0 = prt4
  336. prtW8.Part1 = prt8
  337. prtW8.C1 = CFrame.new(0,0.8,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  338.  
  339. prt9 = Instance.new("Part", Char)
  340. prt9.Size = Vector3.new(1,1,1)
  341. prt9.CanCollide = false
  342. prt9.BrickColor = BrickColor.new("Toothpaste")
  343. prt9.TopSurface = "Smooth"
  344. prt9.Transparency = 0
  345. prt9.BottomSurface = "Smooth"
  346. prt9.Reflectance = 0.5
  347. prtM9 = Instance.new("SpecialMesh", prt9)
  348. prtM9.Scale = Vector3.new(0.25/2,0.25,0.25/2)
  349. prtM9.MeshType = "FileMesh"
  350. prtM9.MeshId = "http://www.roblox.com/asset/?id=9756362"
  351. prt9:BreakJoints()
  352. prtW9 = Instance.new("Weld", prt9)
  353. prtW9.Part0 = prt5
  354. prtW9.Part1 = prt9
  355. prtW9.C1 = CFrame.new(0,0.8,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  356.  
  357. prt10 = Instance.new("Part", Char)
  358. prt10.Size = Vector3.new(1,1,1)
  359. prt10.CanCollide = false
  360. prt10.BrickColor = BrickColor.new("Toothpaste")
  361. prt10.TopSurface = "Smooth"
  362. prt10.Transparency = 0
  363. prt10.BottomSurface = "Smooth"
  364. prt10.Reflectance = 0.5
  365. prtM10 = Instance.new("SpecialMesh", prt10)
  366. prtM10.Scale = Vector3.new(0.25/2,0.25,0.25/2)
  367. prtM10.MeshType = "FileMesh"
  368. prtM10.MeshId = "http://www.roblox.com/asset/?id=9756362"
  369. prt10:BreakJoints()
  370. prtW10 = Instance.new("Weld", prt10)
  371. prtW10.Part0 = prt6
  372. prtW10.Part1 = prt10
  373. prtW10.C1 = CFrame.new(0,0.8,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  374.  
  375. prt11 = Instance.new("Part", Char)
  376. prt11.Size = Vector3.new(1,1,1)
  377. prt11.CanCollide = false
  378. prt11.BrickColor = BrickColor.new("Toothpaste")
  379. prt11.TopSurface = "Smooth"
  380. prt11.Transparency = 0
  381. prt11.BottomSurface = "Smooth"
  382. prt11.Reflectance = 0.5
  383. prtM11 = Instance.new("SpecialMesh", prt11)
  384. prtM11.Scale = Vector3.new(0.25/2,0.25,0.25/2)
  385. prtM11.MeshType = "FileMesh"
  386. prtM11.MeshId = "http://www.roblox.com/asset/?id=9756362"
  387. prt11:BreakJoints()
  388. prtW11 = Instance.new("Weld", prt11)
  389. prtW11.Part0 = prt7
  390. prtW11.Part1 = prt11
  391. prtW11.C1 = CFrame.new(0,0.8,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  392.  
  393. ---------------------------------------
  394.  
  395. prt8 = Instance.new("Part", Char)
  396. prt8.Size = Vector3.new(1,1,1)
  397. prt8.CanCollide = false
  398. prt8.BrickColor = BrickColor.new("Toothpaste")
  399. prt8.TopSurface = "Smooth"
  400. prt8.Transparency = 0
  401. prt8.BottomSurface = "Smooth"
  402. prt8.Reflectance = 0.5
  403. prtM8 = Instance.new("SpecialMesh", prt8)
  404. prtM8.Scale = Vector3.new(0.25/2,0.25,0.25/2)
  405. prtM8.MeshType = "FileMesh"
  406. prtM8.MeshId = "http://www.roblox.com/asset/?id=9756362"
  407. prt8:BreakJoints()
  408. prtW8 = Instance.new("Weld", prt8)
  409. prtW8.Part0 = prt4
  410. prtW8.Part1 = prt8
  411. prtW8.C1 = CFrame.new(0,0.2,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  412.  
  413. prt9 = Instance.new("Part", Char)
  414. prt9.Size = Vector3.new(1,1,1)
  415. prt9.CanCollide = false
  416. prt9.BrickColor = BrickColor.new("Toothpaste")
  417. prt9.TopSurface = "Smooth"
  418. prt9.Transparency = 0
  419. prt9.BottomSurface = "Smooth"
  420. prt9.Reflectance = 0.5
  421. prtM9 = Instance.new("SpecialMesh", prt9)
  422. prtM9.Scale = Vector3.new(0.25/2,0.25,0.25/2)
  423. prtM9.MeshType = "FileMesh"
  424. prtM9.MeshId = "http://www.roblox.com/asset/?id=9756362"
  425. prt9:BreakJoints()
  426. prtW9 = Instance.new("Weld", prt9)
  427. prtW9.Part0 = prt5
  428. prtW9.Part1 = prt9
  429. prtW9.C1 = CFrame.new(0,0.2,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  430.  
  431. prt10 = Instance.new("Part", Char)
  432. prt10.Size = Vector3.new(1,1,1)
  433. prt10.CanCollide = false
  434. prt10.BrickColor = BrickColor.new("Toothpaste")
  435. prt10.TopSurface = "Smooth"
  436. prt10.Transparency = 0
  437. prt10.BottomSurface = "Smooth"
  438. prt10.Reflectance = 0.5
  439. prtM10 = Instance.new("SpecialMesh", prt10)
  440. prtM10.Scale = Vector3.new(0.25/2,0.25,0.25/2)
  441. prtM10.MeshType = "FileMesh"
  442. prtM10.MeshId = "http://www.roblox.com/asset/?id=9756362"
  443. prt10:BreakJoints()
  444. prtW10 = Instance.new("Weld", prt10)
  445. prtW10.Part0 = prt6
  446. prtW10.Part1 = prt10
  447. prtW10.C1 = CFrame.new(0,0.2,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  448.  
  449. prt11 = Instance.new("Part", Char)
  450. prt11.Size = Vector3.new(1,1,1)
  451. prt11.CanCollide = false
  452. prt11.BrickColor = BrickColor.new("Toothpaste")
  453. prt11.TopSurface = "Smooth"
  454. prt11.Transparency = 0
  455. prt11.BottomSurface = "Smooth"
  456. prt11.Reflectance = 0.5
  457. prtM11 = Instance.new("SpecialMesh", prt11)
  458. prtM11.Scale = Vector3.new(0.25/2,0.25,0.25/2)
  459. prtM11.MeshType = "FileMesh"
  460. prtM11.MeshId = "http://www.roblox.com/asset/?id=9756362"
  461. prt11:BreakJoints()
  462. prtW11 = Instance.new("Weld", prt11)
  463. prtW11.Part0 = prt7
  464. prtW11.Part1 = prt11
  465. prtW11.C1 = CFrame.new(0,0.2,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
  466.  
  467. delay(0, function()
  468. while true do
  469. for i = 1,360 do
  470. prtW7.C1 = CFrame.new(0.7,0.5,0)*CFrame.Angles(math.rad(0),math.rad(i+270),math.rad(0))
  471. prtW6.C1 = CFrame.new(0.7,0.5,0)*CFrame.Angles(math.rad(0),math.rad(i+180),math.rad(0))
  472. prtW5.C1 = CFrame.new(0.7,0.5,0)*CFrame.Angles(math.rad(0),math.rad(i+90),math.rad(0))
  473. prtW4.C1 = CFrame.new(0.7,0.5,0)*CFrame.Angles(math.rad(0),math.rad(i),math.rad(0))
  474. wait()
  475. end
  476. end
  477. end)
  478.  
  479. ----
  480. prtW.Part0 = Char["Torso"]
  481. prtW.Part1 = prt1
  482. prtW.C1 = CFrame.new(0,0,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-45))
  483.  
  484. ----
  485.  
  486.  
  487.  
  488. -----------
  489. Torso = Instance.new("Part", Char)
  490. Torso.formFactor = "Symmetric"
  491. Torso.BrickColor = BrickColor.new("Toothpaste")
  492. Torso.Size = Char.Torso.Size
  493. Torso.Transparency = 1
  494. Torso.Reflectance = 0.5
  495. Torso:BreakJoints()
  496. Torsow = Instance.new("Weld", Torso)
  497. Torsow.Part0 = Char["Torso"]
  498. Torsow.Part1 = Torso
  499. Torsow.C1 = CFrame.Angles(0,math.rad(0),0)
  500. Hw = Instance.new("Weld", Torso)
  501. Hw.Part0 = Torso
  502. Hw.Part1 = Char.Head
  503. Hw.C1 = CFrame.new(0,-1.5,0)
  504.  
  505. ------------
  506.  
  507.  
  508. if script.Parent.className ~= "HopperBin" then
  509. knife = Instance.new("HopperBin")
  510. knife.Parent = User.Backpack
  511. knife.Name = "Staff"
  512. script.Parent = knife
  513. end
  514.  
  515.  
  516. function Spin()
  517. haw.Part1 = Char["Right Arm"]
  518.  
  519.  
  520. Torso.Transparency = 0
  521. Char.Torso.Transparency = 1
  522. Char.Torso["Right Shoulder"].Part0 = Torso
  523. Char.Torso["Right Hip"].Part0 = Torso
  524. Char.Torso["Left Shoulder"].Part0 = Torso
  525. Char.Torso["Left Hip"].Part0 = Torso
  526. haw.C0 = CFrame.Angles(0,0,math.rad(90))
  527. for i = 1,3 do
  528. for i = 1,380,20 do
  529. Torsow.C1 = CFrame.Angles(0,math.rad(i),0)
  530. wait()
  531. end
  532. end
  533.  
  534. haw.Part1 = nil
  535.  
  536. haw.C0 = CFrame.Angles(0,0,math.rad(0))
  537. Torso.Transparency = 1
  538. Char.Torso.Transparency = 0
  539. Char.Torso["Right Shoulder"].Part0 = Char.Torso
  540. Char.Torso["Right Hip"].Part0 = Char.Torso
  541. Char.Torso["Left Shoulder"].Part0 = Char.Torso
  542. Char.Torso["Left Hip"].Part0 = Char.Torso
  543.  
  544. end
  545.  
  546. function Equip()
  547.  
  548. haw.Part1 = Char["Right Arm"]
  549. haw2.Part1 = Char["Left Arm"]
  550. for i = 1,45,3 do
  551. haw.C0 = CFrame.Angles(math.rad(-i),math.rad(i),0)
  552. wait()
  553. end
  554.  
  555. prtW.Part0 = Char["Right Arm"]
  556. prtW.Part1 = prt1
  557. prtW.C1 = CFrame.new(0,0,1)*CFrame.Angles(math.rad(90),0,math.rad(0))
  558.  
  559. for i = 1,45,3 do
  560. haw.C0 = CFrame.Angles(math.rad(-45+i),math.rad(45-i),0)
  561. wait()
  562. end
  563. haw.Part1 = nil
  564. haw2.Part1 = nil
  565. end
  566.  
  567. function UnEquip()
  568.  
  569. haw.Part1 = Char["Right Arm"]
  570. haw2.Part1 = Char["Left Arm"]
  571. for i = 1,45,3 do
  572. haw.C0 = CFrame.Angles(math.rad(-i),math.rad(i),0)
  573. wait()
  574. end
  575.  
  576. prtW.Part0 = Char["Torso"]
  577. prtW.Part1 = prt1
  578. prtW.C1 = CFrame.new(0,0,-0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-45))
  579.  
  580. for i = 1,45,3 do
  581. haw.C0 = CFrame.Angles(math.rad(-45+i),math.rad(45-i),0)
  582. wait()
  583. end
  584.  
  585. haw.Part1 = nil
  586. haw2.Part1 = nil
  587.  
  588. end
  589.  
  590.  
  591. function Lightning(hit, m)
  592.  
  593. local mag = math.floor((hit - prt2.Position).magnitude)
  594. local part_size = mag/5
  595.  
  596. if m.Target.Parent:findFirstChild("Humanoid") then
  597. m.Target.Parent.Humanoid.Health = m.Target.Parent.Humanoid.Health - m.Target.Parent.Humanoid.MaxHealth/3
  598. end
  599.  
  600. local P = Instance.new("Part")
  601. P.Name = "P"
  602. local Place0 = prt2
  603. P.formFactor = 0
  604. P.Size = Vector3.new(1,1,(Place0.Position - hit).magnitude)
  605. P.CFrame = CFrame.new((Place0.Position + hit)/2,Place0.Position)
  606. P.Parent = Char
  607. P.BrickColor = prt1.BrickColor
  608. P.Transparency = 0
  609. P.Reflectance = 0.5
  610. P.Anchored = true
  611. P.CanCollide = false
  612. m6 = Instance.new("BlockMesh", P)
  613. m6.Scale = Vector3.new(0.6,0.6,1)
  614. wait(0.1)
  615. delay(0, function()
  616. for i = 1,10,2 do
  617. P.Transparency = i/10
  618. P.Reflectance = 0
  619. wait()
  620. end
  621. P:Remove()
  622. end)
  623. end
  624.  
  625.  
  626. ---------------------------------------------------------------------------------------
  627. function spark(A,B)
  628. Hit = A.CFrame
  629. local P = Instance.new("Part")
  630. P.Name = "Guideline"
  631. local Place0 = B.CFrame
  632. P.formFactor = 0
  633. P.Size = Vector3.new(1,1,(Place0.p - Hit.p).magnitude)
  634. P.CFrame = CFrame.new((Place0.p + Hit.p)/2,Place0.p)
  635. P.Parent = script.Parent.Parent
  636. P.BrickColor = BrickColor.Black()
  637. P.Anchored = true
  638. P.CanCollide = false
  639. P.Transparency = 1
  640. m = Instance.new("BlockMesh")
  641. m.Scale = Vector3.new(0.1,0.1,1)
  642. m.Parent = P
  643. mh = A.CFrame
  644. for c1 = 1, 3 do
  645. oldHit = B.CFrame
  646. for count = 1, 30 do
  647. val1 = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  648. val2 = P.Size.z / 10
  649. val3 = P.CFrame.lookVector * -1
  650. val4 = count * val2
  651. val5 = val4 * val3
  652. val6 = B.CFrame.p
  653. Hit = CFrame.new(val5 + val1 + val6)
  654. local s = Instance.new("Part")
  655. s.Name = "Spark"
  656. local Place0 = oldHit
  657. s.formFactor = 0
  658. s.Size = Vector3.new(1,1,(Place0.p - Hit.p).magnitude)
  659. s.CFrame = CFrame.new((Place0.p + Hit.p)/2,Place0.p)
  660. s.Parent = script.Parent
  661. s.BrickColor = BrickColor.White()
  662. s.Anchored = true
  663. s.CanCollide = false
  664. m = Instance.new("BlockMesh")
  665. m.Scale = Vector3.new(0.1,0.1,1)
  666. m.Parent = s
  667. clone = s:clone()
  668. clone.Mesh.Scale = Vector3.new(0.3,0.3,1.1)
  669. clone.BrickColor = BrickColor.Blue()
  670. clone.Transparency = 0.8
  671. clone.Parent = s.Parent
  672. oldHit = Hit
  673. end
  674. Hit = oldHit
  675. local s = Instance.new("Part")
  676. s.Name = "Spark"
  677. local Place0 = mh
  678. s.formFactor = 0
  679. s.Size = Vector3.new(1,1,(Place0.p - Hit.p).magnitude)
  680. s.CFrame = CFrame.new((Place0.p + Hit.p)/2,Place0.p)
  681. s.Parent = script.Parent
  682. s.BrickColor = BrickColor.White()
  683. s.Anchored = true
  684. s.CanCollide = false
  685. m = Instance.new("BlockMesh")
  686. m.Scale = Vector3.new(0.1,0.1,1)
  687. m.Parent = s
  688. clone = s:clone()
  689. clone.Mesh.Scale = Vector3.new(0.3,0.3,1.1)
  690. clone.BrickColor = BrickColor.Blue()
  691. clone.Transparency = 0.8
  692. clone.Parent = s.Parent
  693. wait(0.5)
  694. end
  695. P:remove()
  696. end
  697. --Lightning = Instance.new("Model", Char)
  698. function PlaceL(BB)
  699. coroutine.resume(coroutine.create(function()
  700. local PA = Instance.new("Part")
  701. PA.Anchored = true
  702. PA.Locked = true
  703. PA.CanCollide = false
  704. PA.Transparency = 1
  705. PA.Size = Vector3.new(0.1,0.1,0.1)
  706. PA.Parent = Lightning
  707. PA.CFrame = CFrame.new(BB.x,BB.y,BB.z)
  708. spark(prt2,PA)
  709. for i = 1,10 do wait()
  710. for i,v in pairs(Lightning:GetChildren()) do
  711. if v:IsA("Part") then
  712. v.Transparency = v.Transparency + 0.1
  713. end
  714. end
  715. end
  716. for i,v in pairs(Lightning:GetChildren()) do
  717. if v:IsA("Part") then
  718. v:Remove()
  719. end
  720. end
  721. end))
  722. end
  723. ---------------------------------------------------------------------------------------
  724.  
  725. function SlashClick()
  726. haw.Part1 = Char["Right Arm"]
  727. haw2.Part1 = Char["Left Arm"]
  728.  
  729.  
  730. for i = 1,45,3 do
  731. haw.C0 = CFrame.Angles(math.rad(i),math.rad(i),0)
  732. wait()
  733. end
  734.  
  735. ---
  736. local sound = Instance.new("Sound", Char.Head)
  737. sound.SoundId = "rbxasset://sounds\\swordslash.wav"
  738. sound.Pitch = 0.9
  739. sound.PlayOnRemove = true
  740. wait()
  741. sound.Parent = nil
  742. ---
  743. for i = 1,45,5 do
  744. haw.C0 = CFrame.Angles(math.rad(45+i),math.rad(45),0)
  745. wait()
  746. end
  747. for i = 1,135,15 do
  748. haw.C0 = CFrame.Angles(math.rad(90-i),math.rad(45),0)
  749. wait()
  750. end
  751. for i = 1,90,10 do
  752. haw.C0 = CFrame.Angles(math.rad(-45+i),math.rad(45),0)
  753. wait()
  754. end
  755.  
  756. for i = 1,45,3 do
  757. haw.C0 = CFrame.Angles(math.rad(45-i),math.rad(45-i),0)
  758. wait()
  759. end
  760.  
  761. haw.Part1 = nil
  762. haw2.Part1 = nil
  763. end
  764.  
  765.  
  766. script.Parent.Selected:connect(function(mouse)
  767. mouse.KeyDown:connect(function(k)
  768. if k == "e" and moving == false then
  769. moving = true
  770. SlashClick()
  771. moving = false
  772.  
  773. --elseif k == "q" and moving == false then
  774. --Spin()
  775. end
  776. end)
  777. mouse.Button1Down:connect(function()
  778. Light_ = true
  779. haw.Part1 = Char["Right Arm"]
  780. haw2.Part1 = Char["Left Arm"]
  781.  
  782. for i = 1,45,3 do
  783. haw.C0 = CFrame.Angles(math.rad(i),math.rad(i),0)
  784. wait()
  785. end
  786. repeat wait(0.5)
  787. delay(0, function()
  788. Lightning(mouse.hit.p, mouse)
  789. end)
  790. until Light_ == false
  791. for i = 1,45,3 do
  792. haw.C0 = CFrame.Angles(math.rad(45-i),math.rad(45-i),0)
  793. wait()
  794. end
  795. haw.Part1 = nil
  796. haw2.Part1 = nil
  797.  
  798. end)
  799.  
  800. mouse.Button1Up:connect(function()
  801. Light_ = false
  802.  
  803. end)
  804.  
  805. Equip()
  806. end)
  807.  
  808. script.Parent.Deselected:connect(function(mouse)
  809. UnEquip()
  810. end)
  811.  
  812. for i,v in pairs(Char:children()) do
  813. if v:IsA("Part") then
  814. v.BrickColor = BrickColor.new("Really black")
  815. end
  816. end
  817.  
  818. for i,v in pairs(Char:children()) do
  819. if v:IsA("Part") then
  820.  
  821. for _,o in pairs(v:children()) do
  822. if o:IsA("SpecialMesh") and o.Scale == Vector3.new(0.25/2,0.25,0.25/2) then
  823. v.BrickColor = BrickColor.new("Really red")
  824. end
  825. end
  826.  
  827. end
  828. end
  829.  
  830. prt3.BrickColor = BrickColor.new("Really red")
  831.  
  832. prt2.BrickColor = BrickColor.new("Really red")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement