Advertisement
beginner0929

special

Dec 13th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.19 KB | None | 0 0
  1. --By Rufus14
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Tool0 = Instance.new("Tool")
  20. Script1 = Instance.new("Script")
  21. Part2 = Instance.new("Part")
  22. SpecialMesh3 = Instance.new("SpecialMesh")
  23. Sound4 = Instance.new("Sound")
  24. music = Instance.new("Sound")
  25. Sound5 = Instance.new("Sound")
  26. effect = Instance.new("ParticleEmitter")
  27. Sound6 = Instance.new("Sound")
  28. Trail7 = Instance.new("Trail")
  29. Sound8 = Instance.new("Sound")
  30. Tool0.Name = "Katana"
  31. Tool0.Parent = mas
  32. Tool0.TextureId = "http://www.roblox.com/asset/?id=11444089"
  33. Tool0.Grip = CFrame.new(0, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  34. Tool0.GripForward = Vector3.new(-1, -0, -0)
  35. Tool0.GripPos = Vector3.new(0, 0, -1.70000005)
  36. Tool0.GripRight = Vector3.new(0, 1, 0)
  37. Tool0.GripUp = Vector3.new(0, 0, 1)
  38. Script1.Parent = Tool0
  39. table.insert(cors,sandbox(Script1,function()
  40. --By Rufus14
  41. canattack = true
  42. cananimate = false
  43. equipped = false
  44. tool = script.Parent
  45. handle = tool.Handle
  46. equipsound = handle.Equip
  47. swishsound = handle.Swoosh
  48. blocksound = handle.Clang
  49. stabsound = handle.Stab
  50. owner = nil
  51. character = nil
  52. mouseclick = false
  53. attacknumber = 1
  54. trail = handle.Trail
  55. runservice = game:GetService("RunService")
  56. --
  57. tool.Activated:connect(function()
  58. mouseclick = true
  59. end)
  60. tool.Deactivated:connect(function()
  61. mouseclick = false
  62. end)
  63. --
  64. function ragdollkill(character)
  65. local victimshumanoid = character:findFirstChildOfClass("Humanoid")
  66. local checkragd = character:findFirstChild("ragded")
  67. if not checkragd then
  68. local boolvalue = Instance.new("BoolValue", character)
  69. boolvalue.Name = "ragded"
  70. if not character:findFirstChild("UpperTorso") then
  71. character.Archivable = true
  72. for i,v in pairs(character:GetChildren()) do
  73. if v.ClassName == "Sound" then
  74. v:remove()
  75. end
  76. for q,w in pairs(v:GetChildren()) do
  77. if w.ClassName == "Sound" then
  78. w:remove()
  79. end
  80. end
  81. end
  82. local ragdoll = character:Clone()
  83. for i,v in pairs(ragdoll:GetDescendants()) do
  84. if v.ClassName == "Motor" or v.ClassName == "Motor6D" then
  85. v:destroy()
  86. end
  87. end
  88. ragdoll:findFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
  89. ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  90. if ragdoll:findFirstChild("Health") then
  91. if ragdoll:findFirstChild("Health").ClassName == "Script" then
  92. ragdoll:findFirstChild("Health").Disabled = true
  93. end
  94. end
  95. for i,v in pairs(character:GetChildren()) do
  96. if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" then
  97. v:destroy()
  98. end
  99. end
  100. for i,v in pairs(character:GetChildren()) do
  101. if v.ClassName == "Accessory" then
  102. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  103. if attachment1 then
  104. for q,w in pairs(character:GetChildren()) do
  105. if w.ClassName == "Part" then
  106. local attachment2 = w:findFirstChild(attachment1.Name)
  107. if attachment2 then
  108. local hinge = Instance.new("HingeConstraint", v.Handle)
  109. hinge.Attachment0 = attachment1
  110. hinge.Attachment1 = attachment2
  111. hinge.LimitsEnabled = true
  112. hinge.LowerAngle = 0
  113. hinge.UpperAngle = 0
  114. end
  115. end
  116. end
  117. end
  118. end
  119. end
  120. ragdoll.Parent = workspace
  121. if ragdoll:findFirstChild("Right Arm") then
  122. local glue = Instance.new("Glue", ragdoll.Torso)
  123. glue.Part0 = ragdoll.Torso
  124. glue.Part1 = ragdoll:findFirstChild("Right Arm")
  125. glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  126. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  127. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Arm"))
  128. limbcollider.Size = Vector3.new(1.4,1,1)
  129. limbcollider.Shape = "Cylinder"
  130. limbcollider.Transparency = 1
  131. limbcollider.Name = "LimbCollider"
  132. local limbcolliderweld = Instance.new("Weld", limbcollider)
  133. limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Arm")
  134. limbcolliderweld.Part1 = limbcollider
  135. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  136. end
  137. if ragdoll:findFirstChild("Left Arm") then
  138. local glue = Instance.new("Glue", ragdoll.Torso)
  139. glue.Part0 = ragdoll.Torso
  140. glue.Part1 = ragdoll:findFirstChild("Left Arm")
  141. glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  142. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  143. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Arm"))
  144. limbcollider.Size = Vector3.new(1.4,1,1)
  145. limbcollider.Shape = "Cylinder"
  146. limbcollider.Name = "LimbCollider"
  147. limbcollider.Transparency = 1
  148. local limbcolliderweld = Instance.new("Weld", limbcollider)
  149. limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Arm")
  150. limbcolliderweld.Part1 = limbcollider
  151. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  152. end
  153. if ragdoll:findFirstChild("Left Leg") then
  154. local glue = Instance.new("Glue", ragdoll.Torso)
  155. glue.Part0 = ragdoll.Torso
  156. glue.Part1 = ragdoll:findFirstChild("Left Leg")
  157. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  158. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  159. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Leg"))
  160. limbcollider.Size = Vector3.new(1.4,1,1)
  161. limbcollider.Shape = "Cylinder"
  162. limbcollider.Name = "LimbCollider"
  163. limbcollider.Transparency = 1
  164. local limbcolliderweld = Instance.new("Weld", limbcollider)
  165. limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Leg")
  166. limbcolliderweld.Part1 = limbcollider
  167. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  168. end
  169. if ragdoll:findFirstChild("Right Leg") then
  170. local glue = Instance.new("Glue", ragdoll.Torso)
  171. glue.Part0 = ragdoll.Torso
  172. glue.Part1 = ragdoll:findFirstChild("Right Leg")
  173. glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  174. glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  175. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Leg"))
  176. limbcollider.Size = Vector3.new(1.4,1,1)
  177. limbcollider.Shape = "Cylinder"
  178. limbcollider.Name = "LimbCollider"
  179. limbcollider.Transparency = 1
  180. local limbcolliderweld = Instance.new("Weld", limbcollider)
  181. limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Leg")
  182. limbcolliderweld.Part1 = limbcollider
  183. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  184. end
  185. if ragdoll:findFirstChild("Head") and ragdoll.Torso:findFirstChild("NeckAttachment") then
  186. local HeadAttachment = Instance.new("Attachment", ragdoll["Head"])
  187. HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  188. local connection = Instance.new('HingeConstraint', ragdoll["Head"])
  189. connection.LimitsEnabled = true
  190. connection.Attachment0 = ragdoll.Torso.NeckAttachment
  191. connection.Attachment1 = HeadAttachment
  192. connection.UpperAngle = 60
  193. connection.LowerAngle = -60
  194. elseif ragdoll:findFirstChild("Head") and not ragdoll.Torso:findFirstChild("NeckAttachment") then
  195. local hedweld = Instance.new("Weld", ragdoll.Torso)
  196. hedweld.Part0 = ragdoll.Torso
  197. hedweld.Part1 = ragdoll.Head
  198. hedweld.C0 = CFrame.new(0,1.5,0)
  199. end
  200. game.Debris:AddItem(ragdoll, 30)
  201. local function aaaalol()
  202. wait(0.2)
  203. local function searchforvelocity(wot)
  204. for i,v in pairs(wot:GetChildren()) do
  205. searchforvelocity(v)
  206. if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
  207. v:destroy()
  208. end
  209. end
  210. end
  211. searchforvelocity(ragdoll)
  212. wait(0.5)
  213. if ragdoll:findFirstChildOfClass("Humanoid") then
  214. ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  215. end
  216. if ragdoll:findFirstChild("HumanoidRootPart") then
  217. ragdoll:findFirstChild("HumanoidRootPart"):destroy()
  218. end
  219. end
  220. spawn(aaaalol)
  221. elseif character:findFirstChild("UpperTorso") then
  222. character.Archivable = true
  223. for i,v in pairs(character:GetChildren()) do
  224. if v.ClassName == "Sound" then
  225. v:remove()
  226. end
  227. for q,w in pairs(v:GetChildren()) do
  228. if w.ClassName == "Sound" then
  229. w:remove()
  230. end
  231. end
  232. end
  233. local ragdoll = character:Clone()
  234. ragdoll:findFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
  235. for i,v in pairs(ragdoll:GetDescendants()) do
  236. if v.ClassName == "Motor" or v.ClassName == "Motor6D" then
  237. v:destroy()
  238. end
  239. end
  240. ragdoll:BreakJoints()
  241. ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  242. if ragdoll:findFirstChild("Health") then
  243. if ragdoll:findFirstChild("Health").ClassName == "Script" then
  244. ragdoll:findFirstChild("Health").Disabled = true
  245. end
  246. end
  247. for i,v in pairs(character:GetChildren()) do
  248. if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "MeshPart" then
  249. v:destroy()
  250. end
  251. end
  252. for i,v in pairs(character:GetChildren()) do
  253. if v.ClassName == "Accessory" then
  254. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  255. if attachment1 then
  256. for q,w in pairs(character:GetChildren()) do
  257. if w.ClassName == "Part" or w.ClassName == "MeshPart" then
  258. local attachment2 = w:findFirstChild(attachment1.Name)
  259. if attachment2 then
  260. local hinge = Instance.new("HingeConstraint", v.Handle)
  261. hinge.Attachment0 = attachment1
  262. hinge.Attachment1 = attachment2
  263. hinge.LimitsEnabled = true
  264. hinge.LowerAngle = 0
  265. hinge.UpperAngle = 0
  266. end
  267. end
  268. end
  269. end
  270. end
  271. end
  272. ragdoll.Parent = workspace
  273. local Humanoid = ragdoll:findFirstChildOfClass("Humanoid")
  274. Humanoid.PlatformStand = true
  275. local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
  276. local connection = Instance.new('BallSocketConstraint', limb)
  277. connection.LimitsEnabled = true
  278. connection.Attachment0 = attachementone
  279. connection.Attachment1 = attachmenttwo
  280. connection.TwistLimitsEnabled = true
  281. connection.TwistLowerAngle = twistlower
  282. connection.TwistUpperAngle = twistupper
  283. local limbcollider = Instance.new("Part", limb)
  284. limbcollider.Size = Vector3.new(0.1,1,1)
  285. limbcollider.Shape = "Cylinder"
  286. limbcollider.Transparency = 1
  287. limbcollider:BreakJoints()
  288. local limbcolliderweld = Instance.new("Weld", limbcollider)
  289. limbcolliderweld.Part0 = limb
  290. limbcolliderweld.Part1 = limbcollider
  291. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  292. end
  293. local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
  294. local connection = Instance.new('HingeConstraint', limb)
  295. connection.LimitsEnabled = true
  296. connection.Attachment0 = attachementone
  297. connection.Attachment1 = attachmenttwo
  298. connection.LimitsEnabled = true
  299. connection.LowerAngle = lower
  300. connection.UpperAngle = upper
  301. local limbcollider = Instance.new("Part", limb)
  302. limbcollider.Size = Vector3.new(0.1,1,1)
  303. limbcollider.Shape = "Cylinder"
  304. limbcollider.Transparency = 1
  305. limbcollider:BreakJoints()
  306. local limbcolliderweld = Instance.new("Weld", limbcollider)
  307. limbcolliderweld.Part0 = limb
  308. limbcolliderweld.Part1 = limbcollider
  309. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  310. end
  311. local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
  312. HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  313. if ragdoll.UpperTorso:findFirstChild("NeckAttachment") then
  314. makehingeconnections(Humanoid.Parent.Head, HeadAttachment, ragdoll.UpperTorso.NeckAttachment, -50, 50)
  315. end
  316. makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
  317. makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180)
  318. makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
  319. makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
  320. --
  321. makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180)
  322. makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
  323. makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
  324. --
  325. makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80)
  326. makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
  327. makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
  328. --
  329. makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80)
  330. makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
  331. makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
  332. for i,v in pairs(Humanoid.Parent:GetChildren()) do
  333. if v.ClassName == "Accessory" then
  334. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  335. if attachment1 then
  336. for q,w in pairs(Humanoid.Parent:GetChildren()) do
  337. if w.ClassName == "Part" then
  338. local attachment2 = w:findFirstChild(attachment1.Name)
  339. if attachment2 then
  340. local hinge = Instance.new("HingeConstraint", v.Handle)
  341. hinge.Attachment0 = attachment1
  342. hinge.Attachment1 = attachment2
  343. hinge.LimitsEnabled = true
  344. hinge.LowerAngle = 0
  345. hinge.UpperAngle = 0
  346. end
  347. end
  348. end
  349. end
  350. end
  351. end
  352. for i,v in pairs(ragdoll:GetChildren()) do
  353. for q,w in pairs(v:GetChildren()) do
  354. if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] and w.Name ~= "ouch_weld" then
  355. w:destroy()
  356. end
  357. end
  358. end
  359. if ragdoll:findFirstChild("HumanoidRootPart") then
  360. ragdoll.HumanoidRootPart:destroy()
  361. end
  362. if ragdoll:findFirstChildOfClass("Humanoid") then
  363. ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  364. end
  365. local function waitfordatmoment()
  366. wait(0.2)
  367. local function searchforvelocity(wot)
  368. for i,v in pairs(wot:GetChildren()) do
  369. searchforvelocity(v)
  370. if v.ClassName == "BodyPosition" or v.ClassName == "BodyVelocity" then
  371. v:destroy()
  372. end
  373. end
  374. end
  375. searchforvelocity(ragdoll)
  376. end
  377. spawn(waitfordatmoment)
  378. game.Debris:AddItem(ragdoll, 30)
  379. end
  380. end
  381. end
  382. function damage()
  383. for i,v in pairs(workspace:GetDescendants()) do
  384. if v.ClassName == "Model" then
  385. local head = v:findFirstChild("Head")
  386. local humanoid = v:findFirstChildOfClass("Humanoid")
  387. local torso = v:findFirstChild("Torso")
  388. local ragdolled = v:findFirstChild("ragdolledknife")
  389. if humanoid and head and not ragdolled then
  390. if (head.Position - handle.Position).magnitude < 2.5 and v ~= character and humanoid.Health > 0 then
  391. stabsound.PlaybackSpeed = 1+(math.random(-4,4)/20)
  392. stabsound:Play()
  393. local dmg = math.random(500,500)
  394. if humanoid.Health <= dmg then
  395. humanoid.Health = 0
  396. ragdollkill(v)
  397. end
  398. humanoid.Health = humanoid.Health - dmg
  399. local ragdolledknife = Instance.new("BoolValue", v)
  400. ragdolledknife.Name = "ragdolledknife"
  401. local velocity = Instance.new("BodyVelocity", head)
  402. velocity.MaxForce = Vector3.new(math.huge,0,math.huge)
  403. velocity.Velocity = character.HumanoidRootPart.CFrame.lookVector * math.random(5,15)
  404. humanoid.PlatformStand = true
  405. coroutine.wrap(function()
  406. wait(1)
  407. humanoid.PlatformStand = false
  408. end)()
  409. game.Debris:AddItem(ragdolledknife, 1)
  410. game.Debris:AddItem(velocity, 0.2)
  411. if torso then
  412. coroutine.wrap(function()
  413. humanoid = v:WaitForChild("Humanoid")
  414. local ragdoll = v
  415. if ragdoll:findFirstChild("Right Arm") then
  416. local glue = Instance.new("Glue", ragdoll.Torso)
  417. glue.Part0 = ragdoll.Torso
  418. glue.Part1 = ragdoll:findFirstChild("Right Arm")
  419. glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  420. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  421. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Arm"))
  422. limbcollider.Size = Vector3.new(1.4,1,1)
  423. limbcollider.Shape = "Cylinder"
  424. limbcollider.Transparency = 1
  425. limbcollider.Name = "LimbCollider"
  426. local limbcolliderweld = Instance.new("Weld", limbcollider)
  427. limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Arm")
  428. limbcolliderweld.Part1 = limbcollider
  429. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  430. coroutine.wrap(function()
  431. if ragdoll.Torso:findFirstChild("Right Shoulder") then
  432. local limbclone = ragdoll.Torso:findFirstChild("Right Shoulder"):Clone()
  433. ragdoll.Torso:findFirstChild("Right Shoulder"):destroy()
  434. coroutine.wrap(function()
  435. wait(1)
  436. limbclone.Parent = ragdoll.Torso
  437. limbclone.Part0 = ragdoll.Torso
  438. limbclone.Part1 = ragdoll["Right Arm"]
  439. end)()
  440. end
  441. wait(1)
  442. glue:destroy()
  443. limbcollider:destroy()
  444. limbcolliderweld:destroy()
  445. end)()
  446. end
  447. if ragdoll:findFirstChild("Left Arm") then
  448. local glue = Instance.new("Glue", ragdoll.Torso)
  449. glue.Part0 = ragdoll.Torso
  450. glue.Part1 = ragdoll:findFirstChild("Left Arm")
  451. glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  452. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  453. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Arm"))
  454. limbcollider.Size = Vector3.new(1.4,1,1)
  455. limbcollider.Shape = "Cylinder"
  456. limbcollider.Name = "LimbCollider"
  457. limbcollider.Transparency = 1
  458. local limbcolliderweld = Instance.new("Weld", limbcollider)
  459. limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Arm")
  460. limbcolliderweld.Part1 = limbcollider
  461. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  462. coroutine.wrap(function()
  463. if ragdoll.Torso:findFirstChild("Left Shoulder") then
  464. local limbclone = ragdoll.Torso:findFirstChild("Left Shoulder"):Clone()
  465. ragdoll.Torso:findFirstChild("Left Shoulder"):destroy()
  466. coroutine.wrap(function()
  467. wait(1)
  468. limbclone.Parent = ragdoll.Torso
  469. limbclone.Part0 = ragdoll.Torso
  470. limbclone.Part1 = ragdoll["Left Arm"]
  471. end)()
  472. end
  473. wait(1)
  474. glue:destroy()
  475. limbcollider:destroy()
  476. limbcolliderweld:destroy()
  477. end)()
  478. end
  479. if ragdoll:findFirstChild("Left Leg") then
  480. local glue = Instance.new("Glue", ragdoll.Torso)
  481. glue.Part0 = ragdoll.Torso
  482. glue.Part1 = ragdoll:findFirstChild("Left Leg")
  483. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  484. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  485. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Leg"))
  486. limbcollider.Size = Vector3.new(1.5,1,1)
  487. limbcollider.Shape = "Cylinder"
  488. limbcollider.Name = "LimbCollider"
  489. limbcollider.Transparency = 1
  490. local limbcolliderweld = Instance.new("Weld", limbcollider)
  491. limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Leg")
  492. limbcolliderweld.Part1 = limbcollider
  493. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.2,0,0)
  494. coroutine.wrap(function()
  495. if ragdoll.Torso:findFirstChild("Left Hip") then
  496. local limbclone = ragdoll.Torso:findFirstChild("Left Hip"):Clone()
  497. ragdoll.Torso:findFirstChild("Left Hip"):destroy()
  498. coroutine.wrap(function()
  499. wait(1)
  500. limbclone.Parent = ragdoll.Torso
  501. limbclone.Part0 = ragdoll.Torso
  502. limbclone.Part1 = ragdoll["Left Leg"]
  503. end)()
  504. end
  505. wait(1)
  506. glue:destroy()
  507. limbcollider:destroy()
  508. limbcolliderweld:destroy()
  509. end)()
  510. end
  511. if ragdoll:findFirstChild("Right Leg") then
  512. local glue = Instance.new("Glue", ragdoll.Torso)
  513. glue.Part0 = ragdoll.Torso
  514. glue.Part1 = ragdoll:findFirstChild("Right Leg")
  515. glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  516. glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  517. local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Leg"))
  518. limbcollider.Size = Vector3.new(1.5,1,1)
  519. limbcollider.Shape = "Cylinder"
  520. limbcollider.Name = "LimbCollider"
  521. limbcollider.Transparency = 1
  522. local limbcolliderweld = Instance.new("Weld", limbcollider)
  523. limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Leg")
  524. limbcolliderweld.Part1 = limbcollider
  525. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.2,0,0)
  526. coroutine.wrap(function()
  527. if ragdoll.Torso:findFirstChild("Right Hip") then
  528. local limbclone = ragdoll.Torso:findFirstChild("Right Hip"):Clone()
  529. ragdoll.Torso:findFirstChild("Right Hip"):destroy()
  530. coroutine.wrap(function()
  531. wait(1)
  532. limbclone.Parent = ragdoll.Torso
  533. limbclone.Part0 = ragdoll.Torso
  534. limbclone.Part1 = ragdoll["Right Leg"]
  535. end)()
  536. end
  537. wait(1)
  538. glue:destroy()
  539. limbcollider:destroy()
  540. limbcolliderweld:destroy()
  541. end)()
  542. end
  543. end)()
  544. end
  545. end
  546. end
  547. end
  548. end
  549. end
  550. function swooshh()
  551. if owner ~= nil and character ~= nil and canattack then
  552. cananimate = false
  553. canattack = false
  554. local rightarmweld = character.Torso:findFirstChild("RightArmWeldkata")
  555. local leftarmweld = character.Torso:findFirstChild("LeftArmWeldkata")
  556. local headweld = character.Torso:findFirstChild("HeadWeldkata")
  557. local rootweld = character.HumanoidRootPart:findFirstChild("HumanoidRootPartWeldkata")
  558. if attacknumber == 1 then
  559. for i = 0,1 , 0.15 do
  560. tool.Grip = tool.Grip * CFrame.fromEulerAnglesXYZ(math.rad(-5),0,0)
  561. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 0.866025388, 0, 0.5, 0, 1, 0, -0.5, 0, 0.866025388),i)
  562. rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.64085674, 0.312389612, -0.122621536, 0.939692497, -0.342020065, 0, -0.29619807, -0.813797593, -0.5, 0.171010077, 0.469846338, -0.866025388),i)
  563. leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(1.02380371, 0.612811089, -0.671613693, 0.440969527, -0.84082067, 0.313952357, -0.813797534, -0.522099257, -0.255236179, 0.378522247, -0.14294228, -0.914487958),i)
  564. rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 0.866025388, 0, -0.5, 0, 1, 0, 0.5, 0, 0.866025388) * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),i)
  565. runservice.Stepped:wait()
  566. end
  567. trail.Enabled = true
  568. swishsound.PlaybackSpeed = 1+(math.random(-4,4)/20)
  569. swishsound:Play()
  570. for i = 0,1 , 0.15 do
  571. damage()
  572. tool.Grip = tool.Grip * CFrame.fromEulerAnglesXYZ(math.rad(15),0,0)
  573. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 0.766044259, 0, -0.642787516, 0, 1, 0, 0.642787516, 0, 0.766044259),i)
  574. rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(0.683202744, -0.20174861, -0.846788406, 0.485379666, 0.55736959, -0.673606277, -0.785861969, 0.615793824, -0.056734439, 0.383180559, 0.556899309, 0.736909389),i)
  575. leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-0.429347992, -0.274533272, -0.938881874, -0.164195985, -0.2279284, -0.959733248, -0.713444591, 0.699326932, -0.0440245233, 0.681201816, 0.677488148, -0.277441025),i)
  576. rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 0.766044378, 0, 0.642787576, 0, 1, 0, -0.642787576, 0, 0.766044378) * CFrame.fromEulerAnglesXYZ(-math.rad(10),math.rad(20),0),i)
  577. runservice.Stepped:wait()
  578. end
  579. trail.Enabled = false
  580. attacknumber = 2
  581. elseif attacknumber == 2 then
  582. for i = 0,1 , 0.15 do
  583. tool.Grip = tool.Grip * CFrame.fromEulerAnglesXYZ(math.rad(-5),0,0)
  584. headweld.C0 = headweld.C0:lerp(CFrame.new(0.0751914978, 1.49240375, -0.0434103012, 0.640502989, 0.150383756, -0.753087461, -0.0301536862, 0.98480773, 0.171010047, 0.767363608, -0.0868240893, 0.635306776),i)
  585. rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(-0.66223526, 0.676017523, -1.025383, 0.49999997, 0.866025388, -2.98023224e-08, 0.749999762, -0.433012694, -0.5, -0.433012754, 0.25000006, -0.866025448),i)
  586. leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-1.26498032, 0.448050499, -0.739653587, 0.939692616, 0.342020124, 0, 0.262002617, -0.719846368, -0.642787337, -0.219846219, 0.604022563, -0.766044617),i)
  587. rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 0.642787635, 0, 0.766044438, 0.133022219, 0.98480773, -0.111618899, -0.754406512, 0.173648179, 0.633022249),i)
  588. runservice.Stepped:wait()
  589. end
  590. trail.Enabled = true
  591. swishsound.PlaybackSpeed = 1+(math.random(-4,4)/20)
  592. swishsound:Play()
  593. for i = 0,1 , 0.15 do
  594. damage()
  595. tool.Grip = tool.Grip * CFrame.fromEulerAnglesXYZ(math.rad(15),0,0)
  596. headweld.C0 = headweld.C0:lerp(CFrame.new(0.0641422272, 1.48955965, 0.0788440704, 0.767760158, 0.128285766, 0.627763689, 0.00259800092, 0.979120135, -0.203264251, -0.640731931, 0.15768908, 0.751396239),i)
  597. rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.37565041, -0.222093105, -0.689687729, 0.5, -0.296198189, 0.813797593, 0.749999642, 0.617945373, -0.235888779, -0.433012664, 0.728292406, 0.531121194),i)
  598. leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(0.835933685, -0.400773525, -1.04433632, 0.649519086, -0.755761325, 0.083365947, 0.557579219, 0.39889279, -0.72800374, 0.516942859, 0.519335449, 0.680485249),i)
  599. rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 0.773788929, 0.0871748775, -0.627416253, 0.0624999851, 0.975144863, 0.212570071, 0.630352676, -0.20369792, 0.749107838),i)
  600. runservice.Stepped:wait()
  601. end
  602. trail.Enabled = false
  603. attacknumber = 3
  604. elseif attacknumber == 3 then
  605. trail.Enabled = true
  606. local rota = 0
  607. tool.Grip = CFrame.new(0, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(85),0,math.pi/2)
  608. swishsound:Play()
  609. for i = 1,25 do
  610. damage()
  611. if i == 10 or i == 20 then
  612. swishsound.PlaybackSpeed = 1+(math.random(-4,4)/20)
  613. swishsound:Play()
  614. end
  615. rota = rota + 1
  616. headweld.C0 = CFrame.new(0,1.5,0)
  617. rightarmweld.C0 = CFrame.new(-0.694223404, 0.5, -1.11978149, 2.98023188e-08, 0.99999994, 0, -1.19248798e-08, -4.44089183e-16, -0.99999994, -0.99999994, 2.98023188e-08, 1.19248806e-08)
  618. leftarmweld.C0 = CFrame.new(-1.57922745, 0.5, -0.405579567, 0.984807611, 0.173648179, 0, 7.59040208e-09, -4.30473079e-08, -0.99999994, -0.173648208, 0.98480773, -4.37113883e-08)
  619. rootweld.C0 = CFrame.new() * CFrame.fromEulerAnglesXYZ(0,-math.rad(rota*30),0)
  620. runservice.Stepped:wait()
  621. end
  622. trail.Enabled = false
  623. attacknumber = 1
  624. end
  625. if mouseclick then
  626. coroutine.wrap(function()
  627. local humhp = character:findFirstChildOfClass("Humanoid").Health
  628. local canblockanim = true
  629. while runservice.Stepped:wait() and mouseclick do
  630. if character:findFirstChildOfClass("Humanoid").Health < humhp then
  631. local thedamage = humhp - character:findFirstChildOfClass("Humanoid").Health
  632. character:findFirstChildOfClass("Humanoid").Health = character:findFirstChildOfClass("Humanoid").Health + thedamage/1.3
  633. blocksound.PlaybackSpeed = 1+(math.random(-4,4)/20)
  634. blocksound.TimePosition = 0.05
  635. blocksound:Play()
  636. if canblockanim then
  637. canblockanim = false
  638. local nearestdistance = math.huge
  639. local nearestplr = nil
  640. for i,v in pairs(workspace:GetDescendants()) do
  641. if v.ClassName == "Model" and v ~= character then
  642. local headdw = v:findFirstChild("Head")
  643. local humanoiddw = v:findFirstChildOfClass("Humanoid")
  644. if humanoiddw and headdw then
  645. if (headdw.Position - character.Head.Position).magnitude < 10 and (headdw.Position - character.Head.Position).magnitude < nearestdistance then
  646. nearestdistance = (headdw.Position - character.Head.Position).magnitude
  647. nearestplr = v
  648. end
  649. end
  650. end
  651. end
  652. if nearestplr ~= nil then
  653. character.Head.CFrame = CFrame.new(character.Head.Position, nearestplr.Head.Position)
  654. end
  655. character:findFirstChildOfClass("Humanoid").PlatformStand = false
  656. local velocity = Instance.new("BodyVelocity", character.Head)
  657. velocity.MaxForce = Vector3.new(math.huge,0,math.huge)
  658. velocity.Velocity = character.Head.CFrame.lookVector * -math.random(10,25)
  659. game.Debris:AddItem(velocity, 0.2)
  660. coroutine.wrap(function()
  661. wait(0.2)
  662. canblockanim = true
  663. end)()
  664. end
  665. end
  666. rootweld.C0 = rootweld.C0:lerp(CFrame.new(),0.3)
  667. headweld.C0 = headweld.C0:lerp(CFrame.new(0,1.5,0),0.3)
  668. rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.pi-math.rad(40),0,0) * CFrame.new(0,-0.5,0),0.3)
  669. leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ((math.pi/2)-math.rad(10),0,0) * CFrame.new(0,-0.5,0),0.3)
  670. tool.Grip = tool.Grip:lerp(CFrame.new(0, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0) * CFrame.fromEulerAnglesXYZ((math.pi/2),(-math.pi/2)-math.rad(15),math.rad(-25)),0.3)
  671. humhp = character:findFirstChildOfClass("Humanoid").Health
  672. end
  673. cananimate = true
  674. canattack = true
  675. end)()
  676. else
  677. cananimate = true
  678. canattack = true
  679. end
  680. end
  681. end
  682. tool.Activated:connect(swooshh)
  683. --
  684. tool.Equipped:connect(function()
  685. equipped = true
  686. trail.Enabled = false
  687. handle.Transparency = 1
  688. owner = game:GetService("Players"):GetPlayerFromCharacter(tool.Parent)
  689. character = owner.Character
  690. local rightarm = Instance.new("Weld", character.Torso)
  691. rightarm.Part0 = character.Torso
  692. rightarm.Part1 = character["Right Arm"]
  693. rightarm.C0 = CFrame.new(1.5,0,0)
  694. rightarm.Name = "RightArmWeldkata"
  695. local leftarm = Instance.new("Weld", character.Torso)
  696. leftarm.Part0 = character.Torso
  697. leftarm.Part1 = character["Left Arm"]
  698. leftarm.C0 = CFrame.new(-1.5,0,0)
  699. leftarm.Name = "LeftArmWeldkata"
  700. local head = Instance.new("Weld", character.Torso)
  701. head.Part0 = character.Torso
  702. head.Part1 = character.Head
  703. head.C0 = CFrame.new(0,1.5,0)
  704. head.Name = "HeadWeldkata"
  705. local humanoidrootpart = Instance.new("Weld", character.HumanoidRootPart)
  706. humanoidrootpart.Part0 = character.HumanoidRootPart
  707. humanoidrootpart.Part1 = character.Torso
  708. humanoidrootpart.Name = "HumanoidRootPartWeldkata"
  709. for i = 0,1 , 0.05 do
  710. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.fromEulerAnglesXYZ(0,math.rad(-25),0),i)
  711. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-10)) * CFrame.new(0,-0.5,0),i)
  712. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.pi+math.rad(10),math.rad(75),0) * CFrame.new(0,-0.5,0),i)
  713. runservice.Stepped:wait()
  714. end
  715. cananimate = true
  716. if character:findFirstChild("KatanaBack") then
  717. character:findFirstChild("KatanaBack").Transparency = 1
  718. end
  719. handle.Transparency = 0
  720. equipsound:Play()
  721. coroutine.wrap(function()
  722. while runservice.Stepped:wait() and equipped do
  723. if cananimate then
  724. tool.Grip = tool.Grip:lerp(CFrame.new(0, 0, -1.70000005, 0, 0, 1, 1, 0, 0, 0, 1, 0),0.1)
  725. head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),0.1)
  726. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(),0.1)
  727. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.4,0.5,0) * CFrame.fromEulerAnglesXYZ((math.pi/2)-math.rad(50)+math.sin(tick())/15,0,math.rad(50)) * CFrame.new(0,-0.8,0),0.1)
  728. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ((math.pi/2)-math.rad(35)+math.sin(tick())/15,math.rad(20),math.rad(-40)) * CFrame.new(0,-0.8,0),0.1)
  729. end
  730. end
  731. end)()
  732. end)
  733. tool.Unequipped:connect(function()
  734. equipped = false
  735. mouseclick = false
  736. cananimate = false
  737. if character.Torso:findFirstChild("LeftArmWeldkata") then
  738. character.Torso:findFirstChild("LeftArmWeldkata"):destroy()
  739. end
  740. if character.Torso:findFirstChild("RightArmWeldkata") then
  741. character.Torso:findFirstChild("RightArmWeldkata"):destroy()
  742. end
  743. if character.Torso:findFirstChild("HeadWeldkata") then
  744. character.Torso:findFirstChild("HeadWeldkata"):destroy()
  745. end
  746. if character:findFirstChild("HumanoidRootPart") then
  747. if character.HumanoidRootPart:findFirstChild("HumanoidRootPartWeldkata") then
  748. character.HumanoidRootPart:findFirstChild("HumanoidRootPartWeldkata"):destroy()
  749. end
  750. end
  751. if not character:findFirstChild("KatanaBack") then
  752. local clone = handle:Clone()
  753. clone:BreakJoints()
  754. for i,v in pairs(clone:GetDescendants()) do
  755. if v.ClassName ~= "SpecialMesh" and v.ClassName ~= "TouchTransmitter" then
  756. v:destroy()
  757. end
  758. end
  759. local weld = Instance.new("Weld", clone)
  760. weld.Part0 = character.Torso
  761. weld.Part1 = clone
  762. weld.C0 = CFrame.new(0,0,0.55)
  763. weld.C0 = weld.C0 * CFrame.fromEulerAnglesXYZ(0,math.pi/2,math.pi/2)
  764. weld.C0 = weld.C0 * CFrame.fromEulerAnglesXYZ(math.pi,math.rad(-60),0)
  765. clone.Parent = character
  766. clone.Name = "KatanaBack"
  767. else
  768. character:findFirstChild("KatanaBack").Transparency = 0
  769. end
  770. handle.Transparency = 1
  771. character.KatanaBack:findFirstChildOfClass("SpecialMesh").TextureId = handle:findFirstChildOfClass("SpecialMesh").TextureId
  772. end)
  773.  
  774. end))
  775. Part2.Name = "Handle"
  776. Part2.Parent = Tool0
  777. Part2.CFrame = CFrame.new(17.0572929, 0.300189167, -9.76147747, 0.779687822, 0.000515311665, -0.626168191, -0.000676799158, 0.999999762, -1.97718891e-05, 0.626168072, 0.000439205993, 0.779688001)
  778. Part2.Orientation = Vector3.new(0, -38.7700005, -0.0399999991)
  779. Part2.Position = Vector3.new(17.0572929, 0.300189167, -9.76147747)
  780. Part2.Rotation = Vector3.new(0, -38.7700005, -0.0399999991)
  781. Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  782. Part2.Size = Vector3.new(0.400000036, 0.200000033, 5)
  783. Part2.BottomSurface = Enum.SurfaceType.Smooth
  784. Part2.BrickColor = BrickColor.new("Dark stone grey")
  785. Part2.Reflectance = 0.40000000596046
  786. Part2.TopSurface = Enum.SurfaceType.Smooth
  787. Part2.brickColor = BrickColor.new("Dark stone grey")
  788. SpecialMesh3.Parent = Part2
  789. SpecialMesh3.MeshId = "http://www.roblox.com/asset/?id=11442510"
  790. SpecialMesh3.Scale = Vector3.new(1.70000005, 1.70000005, 1.70000005)
  791. SpecialMesh3.TextureId = "http://www.roblox.com/asset/?id=11442524"
  792. SpecialMesh3.MeshType = Enum.MeshType.FileMesh
  793. Sound4.Name = "Swoosh"
  794. Sound4.Parent = Part2
  795. Sound4.SoundId = "rbxassetid://1489705211"
  796. Sound4.Volume = 0.69999998807907
  797. effect.Parent = Part2
  798. effect.Color = ColorSequence.new(Color3.new(255,255,0))
  799. effect.Speed = NumberRange.new (0)
  800. effect.Lifetime = NumberRange.new (1)
  801. effect.LockedToPart = true
  802. music.Parent = workspace.Baseplate
  803. music.SoundId = "rbxassetid://1244332148"
  804. music.Playing = true
  805. music.Volume = 4
  806. music.Looped = true
  807. Sound5.Name = "Equip"
  808. Sound5.Parent = Part2
  809. Sound5.SoundId = "rbxassetid://211059653"
  810. Sound5.Volume = 1
  811. Sound6.Name = "Stab"
  812. Sound6.Parent = Part2
  813. Sound6.SoundId = "rbxassetid://4471648128"
  814. Trail7.Parent = Part2
  815. local attach = Instance.new("Attachment", Part2)
  816. attach.Position = Vector3.new(-0, -0, -1)
  817. local attach2 = Instance.new("Attachment", Part2)
  818. attach2.Position = Vector3.new(-0, 0, 2.6)
  819. Trail7.Attachment0 = attach
  820. Trail7.Attachment1 = attach2
  821. Trail7.LightInfluence = 1
  822. Trail7.Color = ColorSequence.new(Color3.new(0,0,0))
  823. Trail7.Transparency = NumberSequence.new(0.80000001192093,0.80000001192093)
  824. Trail7.Lifetime = 0.10000000149012
  825. Sound8.Name = "Clang"
  826. Sound8.Parent = Part2
  827. Sound8.SoundId = "rbxassetid://357622136"
  828. Sound8.Volume = 1
  829. for i,v in pairs(mas:GetChildren()) do
  830. v.Parent = owner.Character
  831. pcall(function() v:MakeJoints() end)
  832. end
  833. mas:Destroy()
  834. for i,v in pairs(cors) do
  835. spawn(function()
  836. pcall(v)
  837. end)
  838. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement