1x1x1x1IAMbck

cross knife dat purple

Apr 22nd, 2018
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.15 KB | None | 0 0
  1. --1x1x1x1IAMbck
  2. --Version 1.1.3 (Minor Improvements and Bug Fixes)
  3.  
  4. -----------------------------------
  5. z = Instance.new("Sound", char)
  6. z.SoundId = "rbxassetid://1372412973"--897221959
  7. z.Looped = true
  8. z.Pitch = 1
  9. z.Volume = 5
  10. wait(.01)
  11. z:Play()
  12. -----------------------------------
  13.  
  14. DAMAGE = 99
  15. local Player = game.Players.LocalPlayer
  16. local Mouse = Player:getMouse()
  17. local Tool = Instance.new("Tool")
  18. Tool.Parent = Player.Backpack
  19. Player.Character.Humanoid.MaxHealth = 99
  20. Player.Character.Humanoid.Health = 99
  21. Player.Character.Humanoid.WalkSpeed = 35
  22. Tool.Name = ("OVERWRITE")
  23. local Handle = Instance.new("Part")
  24. Handle.Parent = Tool
  25. Handle.Anchored = false
  26. Handle.BrickColor = BrickColor.new("Dark indigo")
  27. Handle.Material = ("Neon")
  28. Handle.Name = ("Handle")
  29. Handle.TopSurface = ("SmoothNoOutlines")
  30. Handle.BottomSurface = ("SmoothNoOutlines")
  31. Handle.Size = Vector3.new(0.5,3,0.5)
  32. Mesh = Instance.new("CylinderMesh")
  33. Mesh.Parent = Handle
  34. local Part = Instance.new("Part")
  35. Part.Parent = Tool
  36. Part.Name = ("Middle")
  37. Part.CFrame = Handle.CFrame + Vector3.new(0,3.25,0)
  38. Part.Anchored = false
  39. Part.BrickColor = BrickColor.new("Dark indigo")
  40. Part.Material = ("Neon")
  41. Part.TopSurface = ("SmoothNoOutlines")
  42. Part.BottomSurface = ("SmoothNoOutlines")
  43. Part.Reflectance = 0
  44. Part.Size = Vector3.new(0.5,4.84,1.5)
  45. local Wedge = Instance.new("WedgePart")
  46. Wedge.Parent = Tool
  47. Wedge.CFrame = Part.CFrame + Vector3.new(0,4.18,0)
  48. Wedge.Anchored = false
  49. Wedge.BrickColor = BrickColor.new("Dark indigo")
  50. Wedge.Material = ("Neon")
  51. Wedge.TopSurface = ("SmoothNoOutlines")
  52. Wedge.BottomSurface = ("SmoothNoOutlines")
  53. Wedge.Reflectance = 0
  54. Wedge.Name = ("Blade")
  55. Wedge.Size = Vector3.new(0.5,3.5,1.5)
  56. local Weld = Instance.new("Weld")
  57. Weld.Parent = Handle
  58. Weld.Part0 = Wedge
  59. Weld.C0 = Wedge.CFrame:inverse()
  60. Weld.Part1 = Handle
  61. Weld.C1 = Handle.CFrame:inverse()
  62. local Weld3 = Instance.new("Weld")
  63. Weld3.Parent = Part
  64. Weld3.Part0 = Wedge
  65. Weld3.C0 = Wedge.CFrame:inverse()
  66. Weld3.Part1 = Part
  67. Weld3.C1 = Part.CFrame:inverse()
  68. local Weld4 = Instance.new("Weld")
  69. Weld4.Parent = Wedge
  70. Weld4.Part0 = Part
  71. Weld4.C0 = Part.CFrame:inverse()
  72. Weld4.Part1 = Wedge
  73. Weld4.C1 = Wedge.CFrame:inverse()
  74. Hurt = true
  75. local function Active()
  76. Tool.Name = ("Cross knife")
  77. end
  78. local function Inactive()
  79. Tool.Name = ("OVERWRITE")
  80. end
  81. local function Draw()
  82. local Sound = Instance.new("Sound")
  83. Sound.Parent = Handle
  84. Sound.Volume = 1
  85. Sound.Pitch = 0.5
  86. Sound.SoundId = ("http://www.roblox.com/asset/?id=11998796")
  87. Sound:Play()
  88. end
  89. local function Damage(part)
  90. if part.Name == ("Head") or part.Name == ("Torso") or part.Name == ("Left Arm") or part.Name == ("Right Arm") or part.Name == ("Left Leg") or part.Name == ("Right Leg") then
  91. if Hurt == true then
  92. Hurt = false
  93. part.Parent.Humanoid:TakeDamage(DAMAGE)
  94. wait(0.1)
  95. Hurt = true
  96. end
  97. end
  98. end
  99. local Enabled = true
  100. local function attack()
  101. if Enabled == true then
  102. Enabled = false
  103. local Animation = Instance.new("Animation")
  104. Animation.AnimationId = ("rbxassetid://80395075")
  105. Animation.Name = ("Swing")
  106. Animation.Parent = Tool
  107. local animTrack = Player.Character.Humanoid:LoadAnimation(Animation)
  108. animTrack:Play()
  109. local Sound = Instance.new("Sound")
  110. Sound.Parent = Handle
  111. Sound.Volume = 3
  112. Sound.SoundId = ("rbxassetid://136847657")
  113. Sound.Pitch = 0.5
  114. Sound:Play()
  115. Wedge.Touched:connect(Damage)
  116. Part.Touched:connect(Damage)
  117. wait(0.5)
  118. Enabled = true
  119. end
  120. end
  121. Tool.Activated:connect(attack)
  122. local function Charge(key)
  123. if Enabled == true then
  124. if (key == "q") then
  125. if Tool.Name == ("Cross knife") then
  126. Enabled = false
  127. local Time = 0
  128. local Animation = Instance.new("Animation")
  129. Animation.AnimationId = ("http://www.roblox.com/Asset?ID=159223413")
  130. Animation.Parent = Tool
  131. Animation.Name = ("Charge")
  132. local animTrack = Player.Character.Humanoid:LoadAnimation(Animation)
  133. animTrack:Play()
  134. Hurt = false
  135. Player.Character.Humanoid.WalkSpeed = 50
  136. local Sound = Instance.new("Sound")
  137. Sound.Parent = Player.Character.Humanoid
  138. Sound.Volume = 1
  139. Sound.SoundId = ("rbxassetid://138187451")
  140. Sound:Play()
  141. wait(5)
  142. Sound:remove()
  143. Hurt = true
  144. animTrack:Stop()
  145. Player.Character.Humanoid.WalkSpeed = 25
  146. Enabled = true
  147. end
  148. end
  149. end
  150. end
  151. Mouse.KeyDown:connect(Charge)
  152. local function Hit(part)
  153. if part.Name == ("Head") or part.Name == ("Torso") or part.Name == ("Left Arm") or part.Name == ("Right Arm") or part.Name == ("Left Leg") or part.Name == ("Right Leg") and part.Parent.Name ~= ("Player1") then
  154. local Damage = DAMAGE
  155. part.Parent.Humanoid:TakeDamage(Damage)
  156. game.Workspace.Bullet1:remove()
  157. wait(0.5)
  158. end
  159. end
  160. local function Hit2(part)
  161. if part.Name ~= ("Baseplate") or part.Name ~= ("Base") or part.Name ~= ("Middle") or part.Name ~= ("Blade") then
  162. part.BrickColor = BrickColor.Black()
  163. part.Position = part.Position + Player.Character.Head.CFrame.lookVector*5
  164. print(part.Name)
  165. part.CanCollide = true
  166. local Particle = Instance.new("ParticleEmitter")
  167. Particle.Parent = part
  168. Particle.Texture = ("http://www.roblox.com/asset/?id=311395391")
  169. Particle.Lifetime = NumberRange.new(1,1)
  170. Particle.Rate = 5
  171. local Sound = Instance.new("Sound")
  172. Sound.Parent = part
  173. Sound.Volume = 1
  174. Sound.Pitch = 0.5
  175. Sound.SoundId = ("http://www.roblox.com/asset/?id=247718165")
  176. Sound:Play()
  177. part.Anchored = true
  178. repeat
  179. wait(0.1)
  180. part.CFrame = part.CFrame + Vector3.new(0,1,0)
  181. part.Transparency = part.Transparency + 0.1
  182. until part.Transparency > 1
  183. part:remove()
  184. end
  185. end
  186. local function Zap(key)
  187. if Enabled == true then
  188. if (key == "e")then
  189. if Tool.Name == ("Cross knife") then
  190. Enabled = false
  191. local Animation = Instance.new("Animation")
  192. Animation.AnimationId = ("rbxassetid://32659706")
  193. local animTrack = Player.Character.Humanoid:LoadAnimation(Animation)
  194. animTrack:Play()
  195. wait(0.25)
  196. local Bullet = Instance.new("Part")
  197. Bullet.Name = ("Bullet1")
  198. Bullet.Anchored = false
  199. Bullet.Parent = game.Workspace
  200. Bullet.Size = Vector3.new(4,4,4)
  201. Bullet.Material = ("Neon")
  202. Bullet.Shape = ("Ball")
  203. Bullet.BrickColor = BrickColor.new("Dark indigo")
  204. Bullet.TopSurface = ("Smooth")
  205. Bullet.BottomSurface = ("Smooth")
  206. Bullet.CanCollide = false
  207. Bullet.Position = Wedge.Position + Vector3.new(0,5,0)
  208. Bullet.CFrame = CFrame.new(Bullet.Position,Mouse.Hit.p)
  209. local v = Instance.new("BodyVelocity",Bullet)
  210. v.velocity = Bullet.CFrame.lookVector*360
  211. v.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  212. local Sound = Instance.new("Sound")
  213. Sound.Parent = Part
  214. Sound.Volume = 1
  215. Sound.SoundId = ("http://www.roblox.com/asset/?id=247718107")
  216. Sound.Pitch = 1
  217. Sound:Play()
  218. wait(0.1)
  219. Bullet.Touched:connect(Hit)
  220. wait(0.3)
  221. Enabled = true
  222.  
  223. end
  224. end
  225. end
  226. end
  227. Mouse.KeyDown:connect(Zap)
  228. local Open = true
  229. local function Shield(key)
  230. if (key == "r") then
  231. if Enabled == true then
  232. if Open == true then
  233. Open = false
  234. if Tool.Name == ("Cross knife") then
  235. Player.Character.Humanoid.WalkSpeed = 0
  236. local Animation = Instance.new("Animation")
  237. Animation.AnimationId = ("http://www.roblox.com/asset/?id=235542946")
  238. local animTrack = Player.Character.Humanoid:LoadAnimation(Animation)
  239. animTrack:Play()
  240. local Part = Instance.new("Part")
  241. Part.Name = ("Shield")
  242. Part.Parent = game.Workspace
  243. Part.Rotation = Player.Character.Head.Rotation
  244. Part.Size = Vector3.new(12.04,14.15,0.2)
  245. Part.Anchored = true
  246. Part.CanCollide = false
  247. Part.BrickColor = BrickColor.new("Dark indigo")
  248. Part.Material = ("Neon")
  249. Part.Position = Wedge.Position + Player.Character.Head.CFrame.lookVector*10 - Vector3.new(0,5,0)
  250. Part.Anchored = true
  251. Part.Touched:connect(Hit2)
  252. local Sound1 = Instance.new("Sound")
  253. Sound1.Parent = Wedge
  254. Sound1.Volume = 1
  255. Sound1.Pitch = 1
  256. Sound1.SoundId = ("http://www.roblox.com/asset/?id=247718230")
  257. Sound1:Play()
  258. wait(0.5)
  259. local Sound2 = Instance.new("Sound")
  260. Sound2.Parent = Wedge
  261. Sound2.Volume = 1
  262. Sound2.Pitch = 1
  263. Sound2.SoundId = ("http://www.roblox.com/asset/?id=247718230")
  264. Sound2:Play()
  265. wait(0.5)
  266. local Sound3 = Instance.new("Sound")
  267. Sound3.Parent = Wedge
  268. Sound3.Volume = 1
  269. Sound3.Pitch = 1
  270. Sound3.SoundId = ("http://www.roblox.com/asset/?id=247718230")
  271. Sound3:Play()
  272. wait(1)
  273. Enabled = false
  274. Open = false
  275. if Enabled == false then
  276. game.Workspace.Shield:remove()
  277. Player.Character.Humanoid.WalkSpeed = 25
  278. animTrack:Stop()
  279. Open = true
  280. Enabled = true
  281. end
  282. end
  283. end
  284. end
  285. end
  286. end
  287. Mouse.KeyDown:connect(Shield)
  288. local function Effect()
  289. if Tool.Name == ("Cross knife") then
  290. repeat
  291. wait(0.1)
  292. local Effect1 = Instance.new("Part")
  293. Effect1.Parent = game.Workspace
  294. Effect1.Material = Handle.Material
  295. Effect1.Size = Handle.Size
  296. Effect1.CanCollide = false
  297. Effect1.Anchored = true
  298. Effect1.CFrame = Handle.CFrame
  299. Effect1.BrickColor = Handle.BrickColor
  300. local Effect2 = Instance.new("Part")
  301. Effect2.Parent = game.Workspace
  302. Effect2.Material = Part.Material
  303. Effect2.Size = Part.Size
  304. Effect2.CanCollide = false
  305. Effect2.Anchored = true
  306. Effect2.CFrame = Part.CFrame
  307. Effect2.BrickColor = Part.BrickColor
  308. local Effect3 = Instance.new("WedgePart")
  309. Effect3.Parent = game.Workspace
  310. Effect3.Material = Wedge.Material
  311. Effect3.Size = Wedge.Size
  312. Effect3.CanCollide = false
  313. Effect3.Anchored = true
  314. Effect3.CFrame = Wedge.CFrame
  315. Effect3.BrickColor = Wedge.BrickColor
  316. wait(0.1)
  317. local Effect7 = Instance.new("Part")
  318. Effect7.Parent = game.Workspace
  319. Effect7.Material = Handle.Material
  320. Effect7.Size = Handle.Size
  321. Effect7.CanCollide = false
  322. Effect7.Anchored = true
  323. Effect7.CFrame = Handle.CFrame
  324. Effect7.BrickColor = Handle.BrickColor
  325. local Effect8 = Instance.new("Part")
  326. Effect8.Parent = game.Workspace
  327. Effect8.Material = Part.Material
  328. Effect8.Size = Part.Size
  329. Effect8.CanCollide = false
  330. Effect8.Anchored = true
  331. Effect8.CFrame = Part.CFrame
  332. Effect8.BrickColor = Part.BrickColor
  333. local Effect9 = Instance.new("WedgePart")
  334. Effect9.Parent = game.Workspace
  335. Effect9.Material = Wedge.Material
  336. Effect9.Size = Wedge.Size
  337. Effect9.CanCollide = false
  338. Effect9.Anchored = true
  339. Effect9.CFrame = Wedge.CFrame
  340. Effect9.BrickColor = Wedge.BrickColor
  341. wait(0.1)
  342. local Effect4 = Instance.new("Part")
  343. Effect4.Parent = game.Workspace
  344. Effect4.Material = Handle.Material
  345. Effect4.Size = Handle.Size
  346. Effect4.CanCollide = false
  347. Effect4.Anchored = true
  348. Effect4.CFrame = Handle.CFrame
  349. Effect4.BrickColor = Handle.BrickColor
  350. local Effect5 = Instance.new("Part")
  351. Effect5.Parent = game.Workspace
  352. Effect5.Material = Part.Material
  353. Effect5.Size = Part.Size
  354. Effect5.CanCollide = false
  355. Effect5.Anchored = true
  356. Effect5.CFrame = Part.CFrame
  357. Effect5.BrickColor = Part.BrickColor
  358. local Effect6 = Instance.new("WedgePart")
  359. Effect6.Parent = game.Workspace
  360. Effect6.Material = Wedge.Material
  361. Effect6.Size = Wedge.Size
  362. Effect6.CanCollide = false
  363. Effect6.Anchored = true
  364. Effect6.CFrame = Wedge.CFrame
  365. Effect6.BrickColor = Wedge.BrickColor
  366. Effect1.Transparency = 0.1
  367. Effect2.Transparency = 0.1
  368. Effect3.Transparency = 0.1
  369. wait(0.035)
  370. Effect4.Transparency = 0.1
  371. Effect5.Transparency = 0.1
  372. Effect6.Transparency = 0.1
  373. wait(0.035)
  374. Effect7.Transparency = 0.1
  375. Effect8.Transparency = 0.1
  376. Effect9.Transparency = 0.1
  377. wait(0.035)
  378. Effect1.Transparency = 0.2
  379. Effect2.Transparency = 0.2
  380. Effect3.Transparency = 0.2
  381. wait(0.035)
  382. Effect4.Transparency = 0.2
  383. Effect5.Transparency = 0.2
  384. Effect6.Transparency = 0.2
  385. wait(0.035)
  386. Effect7.Transparency = 0.2
  387. Effect8.Transparency = 0.2
  388. Effect9.Transparency = 0.2
  389. wait(0.035)
  390. Effect1.Transparency = 0.3
  391. Effect2.Transparency = 0.3
  392. Effect3.Transparency = 0.3
  393. wait(0.035)
  394. Effect4.Transparency = 0.3
  395. Effect5.Transparency = 0.3
  396. Effect6.Transparency = 0.3
  397. wait(0.035)
  398. Effect7.Transparency = 0.3
  399. Effect8.Transparency = 0.3
  400. Effect9.Transparency = 0.3
  401. wait(0.035)
  402. Effect1.Transparency = 0.4
  403. Effect2.Transparency = 0.4
  404. Effect3.Transparency = 0.4
  405. wait(0.035)
  406. Effect4.Transparency = 0.4
  407. Effect5.Transparency = 0.4
  408. Effect6.Transparency = 0.4
  409. wait(0.035)
  410. Effect7.Transparency = 0.4
  411. Effect8.Transparency = 0.4
  412. Effect9.Transparency = 0.4
  413. wait(0.035)
  414. Effect1.Transparency = 0.5
  415. Effect2.Transparency = 0.5
  416. Effect3.Transparency = 0.5
  417. wait(0.035)
  418. Effect4.Transparency = 0.5
  419. Effect5.Transparency = 0.5
  420. Effect6.Transparency = 0.5
  421. wait(0.035)
  422. Effect7.Transparency = 0.5
  423. Effect8.Transparency = 0.5
  424. Effect9.Transparency = 0.5
  425. wait(0.035)
  426. Effect1.Transparency = 0.6
  427. Effect2.Transparency = 0.6
  428. Effect3.Transparency = 0.6
  429. wait(0.035)
  430. Effect4.Transparency = 0.6
  431. Effect5.Transparency = 0.6
  432. Effect6.Transparency = 0.6
  433. wait(0.035)
  434. Effect7.Transparency = 0.6
  435. Effect8.Transparency = 0.6
  436. Effect9.Transparency = 0.6
  437. wait(0.035)
  438. Effect1.Transparency = 0.7
  439. Effect2.Transparency = 0.7
  440. Effect3.Transparency = 0.7
  441. wait(0.035)
  442. Effect4.Transparency = 0.7
  443. Effect5.Transparency = 0.7
  444. Effect6.Transparency = 0.7
  445. wait(0.035)
  446. Effect7.Transparency = 0.7
  447. Effect8.Transparency = 0.7
  448. Effect9.Transparency = 0.7
  449. wait(0.035)
  450. Effect1.Transparency = 0.8
  451. Effect2.Transparency = 0.8
  452. Effect3.Transparency = 0.8
  453. wait(0.035)
  454. Effect4.Transparency = 0.8
  455. Effect5.Transparency = 0.8
  456. Effect6.Transparency = 0.8
  457. wait(0.035)
  458. Effect7.Transparency = 0.8
  459. Effect8.Transparency = 0.8
  460. Effect9.Transparency = 0.8
  461. wait(0.035)
  462. Effect1.Transparency = 0.9
  463. Effect2.Transparency = 0.9
  464. Effect3.Transparency = 0.9
  465. wait(0.035)
  466. Effect4.Transparency = 0.9
  467. Effect5.Transparency = 0.9
  468. Effect6.Transparency = 0.9
  469. wait(0.035)
  470. Effect7.Transparency = 0.9
  471. Effect8.Transparency = 0.9
  472. Effect9.Transparency = 0.9
  473. wait(0.035)
  474. Effect1.Transparency = 1
  475. Effect2.Transparency = 1
  476. Effect3.Transparency = 1
  477. wait(0.035)
  478. Effect4.Transparency = 1
  479. Effect5.Transparency = 1
  480. Effect6.Transparency = 1
  481. wait(0.035)
  482. Effect7.Transparency = 1
  483. Effect8.Transparency = 1
  484. Effect9.Transparency = 1
  485. wait(0.035)
  486. until Tool.Name == ("OVERWRITE")
  487. end
  488. end
  489. Tool.Equipped:connect(Effect)
  490. Tool.Equipped:connect(Draw)
  491. Tool.Equipped:connect(Active)
  492. Tool.Unequipped:connect(Inactive)
Add Comment
Please, Sign In to add comment