zXzGamePROzXz

Scissors

Mar 24th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.41 KB | None | 0 0
  1. spawn (function()
  2. local player=game:service'Players'.LocalPlayer
  3. local char=player.Character
  4. local mouse=player:GetMouse()
  5. local tor = char.Torso
  6. local ra = char['Right Arm']
  7. local la = char['Left Arm']
  8. local attacking = false
  9. function weld(p0,p1,c0)
  10. local w=Instance.new("Weld",p0)
  11. w.Part0=p0
  12. w.Part1=p1
  13. w.C0=c0
  14. return w
  15. end
  16.  
  17. ---Clothing------------------------------------------------------
  18. if char:findFirstChild("Shirt") then
  19. char.Shirt:Remove()
  20. end
  21.  
  22. if char:findFirstChild("Pants") then
  23. char.Pants:Remove()
  24. end
  25.  
  26. if char:findFirstChild("Shirt Graphic") then
  27. char["Shirt Graphic"]:Remove()
  28. end
  29.  
  30. if char.Torso:findFirstChild("roblox") then
  31. char.Torso.roblox:Remove()
  32. end
  33.  
  34. local Shirt = Instance.new("Shirt",char)
  35. local Pants = Instance.new("Pants",char)
  36. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=188809505"
  37. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=158093557"
  38. if char:FindFirstChild("Head") then char.Head.BrickColor = BrickColor.new("Sand red") end
  39. if char:FindFirstChild("Torso") then char.Torso.BrickColor = BrickColor.new("Sand red") end
  40. if char:FindFirstChild("Left Leg") then char["Left Leg"].BrickColor = BrickColor.new("Sand red") end
  41. if char:FindFirstChild("Right Leg") then char["Right Leg"].BrickColor = BrickColor.new("Sand red") end
  42. if char:FindFirstChild("Left Arm") then char["Left Arm"].BrickColor = BrickColor.new("Sand red") end
  43. if char:FindFirstChild("Right Arm") then char["Right Arm"].BrickColor = BrickColor.new("Sand red") end
  44. -----------------------------------------------------------------
  45. --Health&Walkspeed--
  46. char.Humanoid.MaxHealth = 1000
  47. char.Humanoid.Health = 1000
  48. char.Humanoid.WalkSpeed = 10
  49. ----------
  50. --Body
  51. local torso = char.Torso:Clone()
  52. torso.Size = Vector3.new(char.Torso.Size.x,char.Torso.Size.y,char.Torso.Size.z)
  53. torso.Transparency = 0
  54. torso.CanCollide = false
  55. if torso:FindFirstChild("roblox") then torso.roblox:Remove() end
  56. torso.Parent = char
  57. torso.CanCollide = true
  58. torso.Name = "Torso"
  59. torso["Left Shoulder"]:Destroy()
  60. torso["Right Shoulder"]:Destroy()
  61. torso["Left Hip"]:Destroy()
  62. torso["Right Hip"]:Destroy()
  63. char.Torso.Transparency = 1
  64. char.Torso.Name = "Torso2"
  65.  
  66.  
  67. local tweld = Instance.new("Weld",char.Torso)
  68. tweld.Name = "tweld"
  69. tweld.Part0 = char.Torso
  70. tweld.Part1 = char.Torso2
  71. tweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(15),0,0)
  72. char.Torso2.Name = "Torso"
  73. -----
  74. ---Hair------------------------------------------------------------------------------
  75. for _,v in pairs(char:GetChildren()) do if v.ClassName=="Accessory" then v:remove() end end
  76.  
  77. hair = Instance.new("Part", char.Head)
  78. hair.FormFactor = Enum.FormFactor.Plate
  79. hair.CanCollide = false
  80. hair.TopSurface = Enum.SurfaceType.Smooth
  81. hair.Size = Vector3.new(1, 0.8, 1)
  82. hair.Name = "Hair"
  83. hair.Friction = 0.3
  84. hair.BottomSurface = Enum.SurfaceType.Smooth
  85. hair:BreakJoints()
  86. mesh = Instance.new("SpecialMesh", hair)
  87. mesh.Scale = Vector3.new(1.02, 1.05, 1.05)
  88. mesh.MeshId = "http://www.roblox.com/asset/?id=12259089"
  89. mesh.TextureId = "http://www.roblox.com/asset/?id=208214380"
  90. mesh.MeshType = Enum.MeshType.FileMesh
  91.  
  92. local hatweld = Instance.new("Weld",hair)
  93. hatweld.Name = "Hatweld"
  94. hatweld.Part0 = hair
  95. hatweld.Part1 = char.Head
  96. hatweld.C0 = CFrame.new(0,-.4,0)
  97. char.Head.face.Texture = "http://www.roblox.com/asset/?id=133667125"
  98. hair:MakeJoints()
  99. -------------------------------------------------------------------------------------------
  100. ---Music---------------------------------------------------------------------------------------------------
  101. local music=Instance.new("Sound")
  102. music.SoundId="http://www.roblox.com/asset/?id=225920256"
  103. music.PlayOnRemove=false
  104. music.Volume=.8
  105. music.Looped=true
  106. music.Pitch = 1
  107. music.Parent=char.Head
  108. music.Name = "ScissormanTheme"
  109. music:Play()
  110.  
  111. char.Humanoid.Died:connect(function(musicremoval)
  112. music:Stop()
  113. wait()
  114. music:Destroy()
  115. end)
  116. -----------------------------------------------------------------------------------------------------------
  117.  
  118. --Model Build--
  119. local scissors = Instance.new("Model", char)
  120. scissors.Name = "Scissors"
  121.  
  122. local blade2 = Instance.new("Model", scissors)
  123. blade2.Name = "Blade2"
  124.  
  125. blade = Instance.new("Part", blade2)
  126. blade.FormFactor = Enum.FormFactor.Custom
  127. blade.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  128. blade.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  129. blade.Anchored = false
  130. blade.Material = Enum.Material.Metal
  131. blade.Size = Vector3.new(0.41, 2.581, 0.512)
  132. blade.Name = "Blade"
  133. blade.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  134. blade.CFrame = CFrame.new(81.752, 5.278, 34.598)* CFrame.Angles(-2.6529195308685, 0, -3.1415927410126)
  135. blade.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  136. blade.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  137. blade.BrickColor = BrickColor.new("Fossil")
  138. blade.Friction = 0.3
  139. blade.CanCollide = false
  140. blade.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  141.  
  142. mesh = Instance.new("SpecialMesh", blade)
  143. mesh.MeshType = Enum.MeshType.Wedge
  144.  
  145. part = Instance.new("Part", blade2)
  146. part.FormFactor = Enum.FormFactor.Custom
  147. part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  148. part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  149. part.Anchored = false
  150. part.Material = Enum.Material.Metal
  151. part.Size = Vector3.new(0.41, 1.721, 0.512)
  152. part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  153. part.CFrame = CFrame.new(81.752, 3.379, 33.589)* CFrame.Angles(0.48867347836494, 0, -0)
  154. part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  155. part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  156. part.BrickColor = BrickColor.new("Fossil")
  157. part.Friction = 0.3
  158. part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  159.  
  160. mesh_2 = Instance.new("BlockMesh", part)
  161.  
  162. handle1 = Instance.new("Part", blade2)
  163. handle1.FormFactor = Enum.FormFactor.Custom
  164. handle1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  165. handle1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  166. handle1.Anchored = false
  167. handle1.Material = Enum.Material.Metal
  168. handle1.Size = Vector3.new(0.41, 2.721, 0.512)
  169. handle1.Name = "Handle1"
  170. handle1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  171. handle1.CFrame = CFrame.new(81.747, 1.366, 32.744)* CFrame.Angles(-2.7924835681915, 0, -0)
  172. handle1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  173. handle1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  174. handle1.BrickColor = BrickColor.new("Fossil")
  175. handle1.Friction = 0.3
  176. handle1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  177.  
  178. mesh_3 = Instance.new("BlockMesh", handle1)
  179.  
  180. handle1pos = Instance.new("Part", scissors)
  181. handle1pos.FormFactor = Enum.FormFactor.Custom
  182. handle1pos.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  183. handle1pos.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  184. handle1pos.Anchored = false
  185. handle1pos.Transparency = 1
  186. handle1pos.CanCollide = false
  187. handle1pos.Material = Enum.Material.Metal
  188. handle1pos.Size = Vector3.new(0.41, 2.721, 0.512)
  189. handle1pos.Name = "handle1pos"
  190. handle1pos.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  191. handle1pos.CFrame = CFrame.new(81.747, 1.366, 32.744)* CFrame.Angles(-2.7924835681915, 0, -0)
  192. handle1pos.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  193. handle1pos.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  194. handle1pos.BrickColor = BrickColor.new("Fossil")
  195. handle1pos.Friction = 0.3
  196. handle1pos.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  197.  
  198. handle = Instance.new("Part", scissors)
  199. handle.FormFactor = Enum.FormFactor.Custom
  200. handle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  201. handle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  202. handle.Anchored = false
  203. handle.Material = Enum.Material.Metal
  204. handle.Size = Vector3.new(0.41, 0.41, 0.41)
  205. handle.Name = "Handle"
  206. handle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  207. handle.CFrame = CFrame.new(81.852, 2.992, 33.43)* CFrame.Angles(-2.8078470230103, 1.5037103891373, 1.2398878335953)
  208. handle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  209. handle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  210. handle.BrickColor = BrickColor.new("Dark stone grey")
  211. handle.Friction = 0.3
  212. handle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  213.  
  214. mesh_4 = Instance.new("SpecialMesh", handle)
  215. mesh_4.Scale = Vector3.new(1, 1.2, 1)
  216. mesh_4.MeshType = Enum.MeshType.Sphere
  217.  
  218. local blade1 = Instance.new("Model", scissors)
  219. blade1.Name = "Blade1"
  220.  
  221. blade_2 = Instance.new("Part", blade1)
  222. blade_2.FormFactor = Enum.FormFactor.Custom
  223. blade_2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  224. blade_2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  225. blade_2.Anchored = false
  226. blade_2.Material = Enum.Material.Metal
  227. blade_2.Size = Vector3.new(0.41, 2.581, 0.512)
  228. blade_2.Name = "Blade"
  229. blade_2.CanCollide = false
  230. blade_2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  231. blade_2.CFrame = CFrame.new(81.752, 5.304, 32.333)* CFrame.Angles(-0.46782538294792, 0, -0)
  232. blade_2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  233. blade_2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  234. blade_2.BrickColor = BrickColor.new("Fossil")
  235. blade_2.Friction = 0.3
  236. blade_2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  237.  
  238. mesh_5 = Instance.new("SpecialMesh", blade_2)
  239. mesh_5.MeshType = Enum.MeshType.Wedge
  240.  
  241. part_2 = Instance.new("Part", blade1)
  242. part_2.FormFactor = Enum.FormFactor.Custom
  243. part_2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  244. part_2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  245. part_2.Anchored = false
  246. part_2.Material = Enum.Material.Metal
  247. part_2.Size = Vector3.new(0.41, 1.721, 0.512)
  248. part_2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  249. part_2.CFrame = CFrame.new(81.752, 3.385, 33.302)* CFrame.Angles(2.6737668514252, 0, -3.1415927410126)
  250. part_2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  251. part_2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  252. part_2.BrickColor = BrickColor.new("Fossil")
  253. part_2.Friction = 0.3
  254. part_2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  255.  
  256. mesh_6 = Instance.new("BlockMesh", part_2)
  257.  
  258. handle1_2 = Instance.new("Part", blade1)
  259. handle1_2.FormFactor = Enum.FormFactor.Custom
  260. handle1_2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  261. handle1_2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  262. handle1_2.Anchored = false
  263. handle1_2.Material = Enum.Material.Metal
  264. handle1_2.Size = Vector3.new(0.41, 2.721, 0.512)
  265. handle1_2.Name = "Handle1"
  266. handle1_2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  267. handle1_2.CFrame = CFrame.new(81.747, 1.366, 34.144)* CFrame.Angles(2.7925736904144, 0, -0)
  268. handle1_2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  269. handle1_2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  270. handle1_2.BrickColor = BrickColor.new("Fossil")
  271. handle1_2.Friction = 0.3
  272. handle1_2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  273.  
  274. mesh_7 = Instance.new("BlockMesh", handle1_2)
  275.  
  276. handle1_2pos = Instance.new("Part", scissors)
  277. handle1_2pos.FormFactor = Enum.FormFactor.Custom
  278. handle1_2pos.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  279. handle1_2pos.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  280. handle1_2pos.Anchored = false
  281. handle1_2pos.Transparency = 1
  282. handle1_2pos.CanCollide = false
  283. handle1_2pos.Material = Enum.Material.Metal
  284. handle1_2pos.Size = Vector3.new(0.41, 2.721, 0.512)
  285. handle1_2pos.Name = "handle2pos"
  286. handle1_2pos.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  287. handle1_2pos.CFrame = CFrame.new(81.747, 1.366, 34.144)* CFrame.Angles(2.7925736904144, 0, -0)
  288. handle1_2pos.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  289. handle1_2pos.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  290. handle1_2pos.BrickColor = BrickColor.new("Fossil")
  291. handle1_2pos.Friction = 0.3
  292. handle1_2pos.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  293.  
  294. part_3 = Instance.new("Part", scissors)
  295. part_3.FormFactor = Enum.FormFactor.Custom
  296. part_3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  297. part_3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  298. part_3.Anchored = false
  299. part_3.Material = Enum.Material.Metal
  300. part_3.Size = Vector3.new(0.41, 0.41, 0.41)
  301. part_3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  302. part_3.CFrame = CFrame.new(81.652, 3.002, 33.43)* CFrame.Angles(-2.8078470230103, 1.5037103891373, 1.2398878335953)
  303. part_3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  304. part_3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  305. part_3.BrickColor = BrickColor.new("Dark stone grey")
  306. part_3.Friction = 0.3
  307. part_3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  308.  
  309. mesh_8 = Instance.new("SpecialMesh", part_3)
  310. mesh_8.Scale = Vector3.new(1, 1.2, 1)
  311. mesh_8.MeshType = Enum.MeshType.Sphere
  312. scissors:BreakJoints()
  313. blade1:BreakJoints()
  314. blade2:BreakJoints()
  315.  
  316. local prev
  317. local parts = scissors:GetChildren()
  318.  
  319. for i = 1,#parts do
  320. if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") then
  321. if (prev ~= nil)then
  322. if parts[i]:FindFirstChild("Weld") then parts[i]:FindFirstChild("Weld"):Destroy() end
  323. local weld = Instance.new("Weld")
  324. weld.Part0 = prev
  325. weld.Part1 = parts[i]
  326. weld.C0 = prev.CFrame:inverse()
  327. weld.C1 = parts[i].CFrame:inverse()
  328. weld.Parent = prev
  329. end
  330. prev = parts[i]
  331. end
  332. end
  333. scissors:MakeJoints()
  334.  
  335. local prev
  336. local parts = blade1:GetChildren()
  337.  
  338. for i = 1,#parts do
  339. if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") then
  340. if (prev ~= nil)then
  341. if parts[i]:FindFirstChild("Weld") then parts[i]:FindFirstChild("Weld"):Destroy() end
  342. local weld = Instance.new("Weld")
  343. weld.Part0 = prev
  344. weld.Part1 = parts[i]
  345. weld.C0 = prev.CFrame:inverse()
  346. weld.C1 = parts[i].CFrame:inverse()
  347. weld.Parent = prev
  348. end
  349. prev = parts[i]
  350. end
  351. end
  352. blade1:MakeJoints()
  353. local prev
  354. local parts = blade2:GetChildren()
  355.  
  356. for i = 1,#parts do
  357. if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") then
  358. if (prev ~= nil)then
  359. if parts[i]:FindFirstChild("Weld") then parts[i]:FindFirstChild("Weld"):Destroy() end
  360. local weld = Instance.new("Weld")
  361. weld.Part0 = prev
  362. weld.Part1 = parts[i]
  363. weld.C0 = prev.CFrame:inverse()
  364. weld.C1 = parts[i].CFrame:inverse()
  365. weld.Parent = prev
  366. end
  367. prev = parts[i]
  368. end
  369. end
  370. blade2:MakeJoints()
  371.  
  372. local particleemitter = Instance.new("ParticleEmitter", scissors.Handle)
  373. particleemitter.VelocitySpread = 200
  374. particleemitter.Speed = NumberRange.new(10)
  375. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 0.2)})
  376. particleemitter.Rate = 10
  377. particleemitter.Texture = "http://www.roblox.com/asset/?id=311395391"
  378. particleemitter.Color = ColorSequence.new(Color3.new(1, 0.666667, 0), Color3.new(1, 0.666667, 0))
  379. particleemitter.Enabled = false
  380.  
  381. scissors.Handle.Weld.Name = "Weld2"
  382. weld(blade1.Handle1, scissors.handle1pos, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0))
  383. weld(blade2.Handle1, scissors.handle2pos, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0))
  384. ---Model Build End---
  385. weld(tor, ra, CFrame.new(1,0,-1)*CFrame.Angles(math.rad(90),0,0))
  386. weld(la, ra, CFrame.new(2,0,0)*CFrame.Angles(math.rad(0),0,0))
  387. weld(scissors.Handle, tor, CFrame.new(4,0,-.2)*CFrame.Angles(math.rad(95),(math.rad(90)),0))
  388. local sc1 = Instance.new("Sound")
  389. sc1.SoundId="rbxassetid://357622136"
  390. sc1.PlayOnRemove=false
  391. sc1.Volume=0.7
  392. sc1.Looped=false
  393. sc1.Pitch = 1
  394. sc1.Parent=scissors.Handle
  395. local sc2 = Instance.new("Sound")
  396. sc2.SoundId="rbxassetid://240785604"
  397. sc2.PlayOnRemove=false
  398. sc2.Volume=0.7
  399. sc2.Looped=false
  400. sc2.Pitch = 1
  401. sc2.Parent=scissors.Handle
  402.  
  403. local open = true
  404. function scissoropen()
  405. open = true
  406. blade2.Handle1.Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(2),0,0)
  407. blade1.Handle1.Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-2),0,0)
  408. wait()
  409. blade2.Handle1.Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(4),0,0)
  410. blade1.Handle1.Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-4),0,0)
  411. wait()
  412. blade2.Handle1.Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(6),0,0)
  413. blade1.Handle1.Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-6),0,0)
  414. end
  415.  
  416. function scissorclose()
  417. open = false
  418. attacking = true
  419. sc1:Play()
  420. blade2.Handle1.Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-2),0,0)
  421. blade1.Handle1.Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(2),0,0)
  422. wait()
  423. blade2.Handle1.Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-4),0,0)
  424. blade1.Handle1.Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(4),0,0)
  425. wait()
  426. blade2.Handle1.Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-6),0,0)
  427. blade1.Handle1.Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(6),0,0)
  428. attacking = false
  429. end
  430.  
  431. mouse.Button2Down:connect(function()
  432. if open == false then
  433. scissoropen()
  434. end
  435. end)
  436. mouse.Button1Down:connect(function()
  437. if open == true then
  438. scissorclose()
  439. end
  440. end)
  441.  
  442. local blood = Instance.new("ParticleEmitter")
  443. blood.VelocitySpread = 180
  444. blood.Lifetime = NumberRange.new(1, 2)
  445. blood.Speed = NumberRange.new(10)
  446. blood.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1), NumberSequenceKeypoint.new(1, 0.1)})
  447. blood.Acceleration = Vector3.new(0, -10, 0)
  448. blood.RotSpeed = NumberRange.new(260)
  449. blood.Texture = "http://www.roblox.com/asset/?id=176677966"
  450.  
  451. blade.Touched:connect(function(h)
  452. if attacking == true then
  453. if h.Parent:FindFirstChild("Humanoid") then
  454. if h.Parent:FindFirstChild("Torso") then
  455. local pclone = blood:Clone()
  456. pclone.Parent = h
  457. game.Debris:AddItem(pclone,1)
  458. end
  459. if h.Parent.Humanoid.Parent:FindFirstChild("ForceField") then h.Parent.ForceField:Destroy() end
  460. if h.Name == "Torso" then h.Parent.Humanoid:TakeDamage(math.random(20,40)) end
  461. if h.Name == "Left Arm" then local clone = h:Clone() clone.Parent = workspace clone.Position = h.Position clone.CanCollide = true h:Destroy() end
  462. if h.Name == "Right Arm" then local clone = h:Clone() clone.Parent = workspace clone.Position = h.Position clone.CanCollide = true h:Destroy() end
  463. if h.Name == "Left Leg" then local clone = h:Clone() clone.Parent = workspace clone.Position = h.Position clone.CanCollide = true h:Destroy() end
  464. if h.Name == "Right Leg" then local clone = h:Clone() clone.Parent = workspace clone.Position = h.Position clone.CanCollide = true h:Destroy() end
  465. if h.Name == "Head" then local clone = h:Clone() clone.Parent = workspace clone.Position = h.Position clone.CanCollide = true h:Destroy() end
  466. end
  467. end
  468. end)
  469. blade_2.Touched:connect(function(h)
  470. if attacking == true then
  471. --if h.Parent:FindFirstChild("Humanoid") == nil and not h.Name:lower():find("base") then
  472. --h.Anchored = false
  473. --h.Velocity = char.Head.CFrame.lookVector*30
  474. --h:BreakJoints()
  475. --end
  476. if h.Parent:FindFirstChild("Humanoid") then
  477. if h.Parent:FindFirstChild("Torso") then
  478. local pclone = blood:Clone()
  479. pclone.Parent = h
  480. game.Debris:AddItem(pclone,1)
  481. end
  482. if h.Parent.Humanoid.Parent:FindFirstChild("ForceField") then h.Parent.ForceField:Destroy() end
  483. if h.Name == "Torso" then h.Parent.Humanoid:TakeDamage(math.random(20,40)) end
  484. if h.Name == "Left Arm" then local clone = h:Clone() clone.Parent = workspace clone.Position = h.Position clone.CanCollide = true h:Destroy() end
  485. if h.Name == "Right Arm" then local clone = h:Clone() clone.Parent = workspace clone.Position = h.Position clone.CanCollide = true h:Destroy() end
  486. if h.Name == "Left Leg" then local clone = h:Clone() clone.Parent = workspace clone.Position = h.Position clone.CanCollide = true h:Destroy() end
  487. if h.Name == "Right Leg" then local clone = h:Clone() clone.Parent = workspace clone.Position = h.Position clone.CanCollide = true h:Destroy() end
  488. if h.Name == "Head" then local clone = h:Clone() clone.Parent = workspace clone.Position = h.Position clone.CanCollide = true h:Destroy() end
  489. end
  490. end
  491. end)
  492.  
  493. local fpressed = 0
  494. mouse.KeyDown:connect(function(key)
  495. if key == "f" then
  496. fpressed = fpressed + 1
  497. if fpressed == 1 then
  498. tor.Weld.C0 = CFrame.new(1,.5,-1)*CFrame.Angles(math.rad(100),0,0)
  499. scissors.Handle.Weld.C0 = CFrame.new(4,0,-.8)*CFrame.Angles(math.rad(95),(math.rad(90)),0)
  500. end
  501. if fpressed ==2 then
  502. tor.Weld.C0 = CFrame.new(1,-.5,-1)*CFrame.Angles(math.rad(90),0,0)
  503. scissors.Handle.Weld.C0 = CFrame.new(4,0,.4)*CFrame.Angles(math.rad(95),(math.rad(90)),0)
  504. end
  505. if fpressed == 3 then
  506. fpressed = 0
  507. tor.Weld.C0 = CFrame.new(1,0,-1)*CFrame.Angles(math.rad(90),0,0)
  508. scissors.Handle.Weld.C0 = CFrame.new(4,0,-.2)*CFrame.Angles(math.rad(95),(math.rad(90)),0)
  509. end
  510. end
  511. end)
  512. end)
Add Comment
Please, Sign In to add comment