Advertisement
aarontje11002

somet

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