naser2345

Deadpool katana

Jun 25th, 2017
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.72 KB | None | 0 0
  1. local ContentProvider = game:GetService("ContentProvider")
  2.  
  3. local function LoadAssets(AssetList)
  4. -- Takes an asset list and preloads it. Will not wait for them to load.
  5.  
  6. for _, AssetId in pairs(AssetList) do
  7. ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId)
  8. end
  9. end
  10.  
  11. LoadAssets({11442510,30956707})
  12. local Gibs = game.Workspace
  13.  
  14. function Kill(Character)
  15. Character.Humanoid.Health = 0
  16. local poo = Instance.new("IntValue",Character)
  17. poo.Name = "haha nope"
  18. local svch = Character
  19. local hum = Character:findFirstChild("Humanoid")
  20. Character.Archivable = true
  21. local chrclone = Character:clone()
  22. Character.Archivable = false
  23.  
  24. local ch = chrclone:GetChildren()
  25. local i
  26. for i = 1,#ch do
  27. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  28. ch[i]:remove()
  29. end
  30. end
  31. local function Scan(ch)
  32. local e
  33. for e = 1,#ch do
  34. Scan(ch[e]:GetChildren())
  35. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  36. ch[e]:remove()
  37. end
  38. end
  39. end
  40. Scan(chrclone:GetChildren())
  41.  
  42. local hum2 = chrclone:findFirstChild("Humanoid")
  43.  
  44.  
  45. if hum2 ~= nil then
  46. hum2.Name = "Humanoid2"
  47. hum2.PlatformStand = true
  48. hum2.Sit = true
  49. hum2.MaxHealth = 0
  50. hum2.Health = 0
  51. end
  52.  
  53. local ch = Character:GetChildren()
  54. local i
  55. for i = 1,#ch do
  56. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  57. ch[i]:remove()
  58. end
  59. end
  60.  
  61. wait(0.2)
  62.  
  63. local ch = Character:GetChildren()
  64. local i
  65. for i = 1,#ch do
  66. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  67. ch[i]:remove()
  68. end
  69. end
  70. Character = chrclone
  71. local Torso = Character.Torso
  72. local movevector = Vector3.new()
  73.  
  74. if Torso then
  75. local Head = Character:FindFirstChild("Head")
  76. local Limb = Character:FindFirstChild("Right Arm")
  77. if Limb then
  78.  
  79. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  80. local Joint = Instance.new("Glue")
  81. Joint.Name = "RightShoulder"
  82. Joint.Part0 = Torso
  83. Joint.Part1 = Limb
  84. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  85. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  86. Joint.Parent = Torso
  87.  
  88. local B = Instance.new("Part")
  89. B.TopSurface = 0
  90. B.BottomSurface = 0
  91. B.formFactor = "Symmetric"
  92. B.Size = Vector3.new(1, 1, 1)
  93. B.Transparency = 1
  94. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  95. B.Parent = Character
  96. local W = Instance.new("Weld")
  97. W.Part0 = Limb
  98. W.Part1 = B
  99. W.C0 = CFrame.new(0, -0.5, 0)
  100. W.Parent = Limb
  101.  
  102. end
  103. local Limb = Character:FindFirstChild("Left Arm")
  104. if Limb then
  105.  
  106. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  107. local Joint = Instance.new("Glue")
  108. Joint.Name = "LeftShoulder"
  109. Joint.Part0 = Torso
  110. Joint.Part1 = Limb
  111. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  112. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  113. Joint.Parent = Torso
  114.  
  115. local B = Instance.new("Part")
  116. B.TopSurface = 0
  117. B.BottomSurface = 0
  118. B.formFactor = "Symmetric"
  119. B.Size = Vector3.new(1, 1, 1)
  120. B.Transparency = 1
  121. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  122. B.Parent = Character
  123. local W = Instance.new("Weld")
  124. W.Part0 = Limb
  125. W.Part1 = B
  126. W.C0 = CFrame.new(0, -0.5, 0)
  127. W.Parent = Limb
  128.  
  129. end
  130. local Limb = Character:FindFirstChild("Right Leg")
  131. if Limb then
  132.  
  133. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  134. local Joint = Instance.new("Glue")
  135. Joint.Name = "RightHip"
  136. Joint.Part0 = Torso
  137. Joint.Part1 = Limb
  138. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  139. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  140. Joint.Parent = Torso
  141.  
  142. local B = Instance.new("Part")
  143. B.TopSurface = 0
  144. B.BottomSurface = 0
  145. B.formFactor = "Symmetric"
  146. B.Size = Vector3.new(1, 1, 1)
  147. B.Transparency = 1
  148. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  149. B.Parent = Character
  150. local W = Instance.new("Weld")
  151. W.Part0 = Limb
  152. W.Part1 = B
  153. W.C0 = CFrame.new(0, -0.5, 0)
  154. W.Parent = Limb
  155.  
  156. end
  157. local Limb = Character:FindFirstChild("Left Leg")
  158. if Limb then
  159.  
  160. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  161. local Joint = Instance.new("Glue")
  162. Joint.Name = "LeftHip"
  163. Joint.Part0 = Torso
  164. Joint.Part1 = Limb
  165. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  166. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  167. Joint.Parent = Torso
  168.  
  169. local B = Instance.new("Part")
  170. B.TopSurface = 0
  171. B.BottomSurface = 0
  172. B.formFactor = "Symmetric"
  173. B.Size = Vector3.new(1, 1, 1)
  174. B.Transparency = 1
  175. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  176. B.Parent = Character
  177. local W = Instance.new("Weld")
  178. W.Part0 = Limb
  179. W.Part1 = B
  180. W.C0 = CFrame.new(0, -0.5, 0)
  181. W.Parent = Limb
  182.  
  183. end
  184. --[
  185. local Bar = Instance.new("Part")
  186. Bar.TopSurface = 0
  187. Bar.BottomSurface = 0
  188. Bar.formFactor = "Symmetric"
  189. Bar.Size = Vector3.new(1, 1, 1)
  190. Bar.Transparency = 1
  191. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  192. Bar.Parent = Character
  193. local Weld = Instance.new("Weld")
  194. Weld.Part0 = Torso
  195. Weld.Part1 = Bar
  196. Weld.C0 = CFrame.new(0, 0.5, 0)
  197. Weld.Parent = Torso
  198. --]]
  199. end
  200. Character.Parent = Gibs
  201. game.Debris:AddItem(Character, 12)
  202. if movevector ~= Vector3.new() then
  203. for i = 1,10 do
  204. wait()
  205. Torso.Velocity = Vector3.new(0,0,-100)
  206. Head.Velocity = movevector * 200
  207. end
  208. end
  209. local duh = Torso
  210. ee = Instance.new("Part")
  211. ee.Anchored = false
  212. ee.CanCollide = false
  213. ee.Parent = duh
  214. ee.Transparency =1
  215. ee.Size = Vector3.new(0.15, 0.15, 0.15)
  216. wee = Instance.new("Weld")
  217. wee.Parent = duh
  218. wee.Part0 = duh
  219. wee.Part1 = ee
  220. wee.C0 = CFrame.new(0, 1, 0)
  221. ge = Instance.new('ParticleEmitter')
  222. ge.Parent = ee
  223. ge.Texture = "rbxassetid://29712167"
  224. ge.Size = NumberSequence.new(0.2,0.05)
  225. ge.Acceleration = Vector3.new(0, -20, 0)
  226. ge.Rate = 100000
  227. ge.Speed = NumberRange.new(7,8)
  228. ge.Lifetime = NumberRange.new(3,4)
  229. ge.VelocitySpread = 10
  230. ge.VelocityInheritance = 0.3
  231. ea = Instance.new("Part")
  232. ea.Anchored = false
  233. ea.CanCollide = false
  234. ea.Parent = Character.Head
  235. ea.Transparency =1
  236. ea.Size = Vector3.new(0.15, 0.15, 0.15)
  237. wea = Instance.new("Weld")
  238. wea.Parent = Character.Head
  239. wea.Part0 = Character.Head
  240. wea.Part1 = ea
  241. wea.C0 = CFrame.new(0, -0.7, 0)
  242. ga = Instance.new('ParticleEmitter')
  243. ga.Parent = ea
  244. ga.Texture = "rbxassetid://29712167"
  245. ga.Size = NumberSequence.new(0.2,0.05)
  246. ga.Acceleration = Vector3.new(0, -20, 0)
  247. ga.Rate = 100000
  248. ga.Speed = NumberRange.new(7,8)
  249. ga.Lifetime = NumberRange.new(3,4)
  250. ga.VelocitySpread = 10
  251. ga.VelocityInheritance = 0.3
  252. ga.EmissionDirection = Enum.NormalId.Bottom
  253. end
  254.  
  255. local plr = game.Players.LocalPlayer
  256. local chr = plr.Character
  257. local mouse = plr:GetMouse()
  258. local intro = coroutine.wrap(function()
  259. local gui = Instance.new('ScreenGui',plr.PlayerGui)
  260. gui.Name = "Intro"
  261. local fr = Instance.new('Frame',gui)
  262. fr.Size = UDim2.new(0.4,0,0,0)
  263. fr.Position = UDim2.new(0.3,0,-0.1,0)
  264. fr.BorderColor3 = Color3.fromRGB(198, 45, 45)
  265. fr.BorderSizePixel = 5
  266. fr.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  267. local title = Instance.new('TextLabel',fr)
  268. title.Size = UDim2.new(1,0,0.4,0)
  269. title.Position = UDim2.new(0,0,0.1,0)
  270. title.BackgroundTransparency = 1
  271. title.TextColor3 = Color3.fromRGB(198, 45, 45)
  272. title.TextScaled = true
  273. title.Text = 'Deadpool Script'
  274. local desc = Instance.new('TextLabel',fr)
  275. desc.Size = UDim2.new(1,0,0.5,0)
  276. desc.Position = UDim2.new(0,0,0.5,0)
  277. desc.BackgroundTransparency = 1
  278. desc.TextColor3 = Color3.fromRGB(198, 45, 45)
  279. desc.TextScaled = true
  280. desc.Text = ''
  281. wait(1)
  282. fr:TweenSize(UDim2.new(0.4,0,0.5,0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,2)
  283. wait(2)
  284. local str = 'Hotkey to equip katana is N. Use Z to stab and X to slice heads off. Created by mustardfoot.'
  285. local leng = string.len(str)
  286. for i = 1,leng do
  287. desc.Text = string.sub(str,1,i)
  288. wait()
  289. end
  290. wait(2)
  291. fr:TweenSize(UDim2.new(0.4,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,0.8)
  292. wait(2)
  293. gui:Destroy()
  294. end)
  295. intro()
  296.  
  297.  
  298. wait(2)
  299. local tors = chr.Torso
  300. chr.Head.Transparency = 1
  301. for i,v in pairs(chr:GetChildren()) do
  302. if v.ClassName == "CharacterMesh" then
  303. v:Destroy()
  304. end
  305. end
  306. local humroot = chr.HumanoidRootPart:Clone()
  307. local torsclone = tors:Clone()
  308. local anim = chr.Animate:Clone()
  309. local hum = chr.Humanoid:Clone()
  310. local head = chr.Head:Clone()
  311. local neck = chr.Torso.Neck:Clone()
  312. local rightarm = chr["Right Arm"]:Clone()
  313. local leftarm = chr["Left Arm"]:Clone()
  314. local leftleg = chr["Left Leg"]:Clone()
  315. local rightleg = chr["Right Leg"]:Clone()
  316. local rightshoulder = tors["Right Shoulder"]:Clone()
  317. local leftshoulder = tors["Left Shoulder"]:Clone()
  318. local righthip = tors["Right Hip"]:Clone()
  319. local lefthip = tors["Left Hip"]:Clone()
  320. local shirt = nil
  321. local pants = nil
  322. local hats = {}
  323. local lastpos = CFrame.new(0,0,0)
  324. local on = true
  325. local doing = false
  326. local stabbing = false
  327. local slicing = false
  328. local toolz = Instance.new('Tool',plr.Backpack)
  329. toolz.Name = "Katana"
  330. toolz.RequiresHandle = false
  331. toolz.CanBeDropped = false
  332. local partz = Instance.new('Part',toolz)
  333. partz.Size = Vector3.new(0.2,0.2,3)
  334. partz.CanCollide = false
  335. local meshz = Instance.new('SpecialMesh',partz)
  336. meshz.MeshId = 'rbxassetid://11442510'
  337. meshz.TextureId = 'rbxassetid://30956707'
  338. meshz.VertexColor = Vector3.new(0,0,0)
  339.  
  340. toolz.Equipped:connect(function(mouse)
  341. if chr:FindFirstChild('Right Arm') then
  342. local weld = Instance.new('Weld',partz)
  343. weld.Part0 = partz
  344. weld.Part1 = chr["Right Arm"]
  345. weld.C0 = CFrame.new(0.9,0,-1.25)*CFrame.Angles(math.pi,0,-math.pi/2)
  346. end
  347. mouse.KeyDown:connect(function(key)
  348. if doing == false then
  349. if key == 'z' then
  350. if chr:FindFirstChild('Right Arm') and chr:FindFirstChild('Torso') then
  351. doing = true
  352. local weld = Instance.new('Weld',chr["Right Arm"])
  353. weld.Part0 = chr["Right Arm"]
  354. weld.Part1 = chr.Torso
  355. weld.C0 = CFrame.new(-1.5,0,0)
  356. for i=1,25 do
  357. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,1,0.9)*CFrame.Angles(math.pi/2.5,0,-math.pi/2.5),i/25)
  358. wait()
  359. end
  360. wait()
  361. stabbing = true
  362. for i=1,10 do
  363. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0.8,0)*CFrame.Angles(-math.pi/4,0,-math.pi/6),i/10)
  364. wait()
  365. end
  366. wait()
  367. for i=1,25 do
  368. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i/25)
  369. wait()
  370. end
  371. chr["Right Arm"]:Destroy()
  372. doing = false
  373. stabbing = false
  374. end
  375. elseif key == 'x' then
  376. if chr:FindFirstChild('Right Arm') and chr:FindFirstChild('Torso') then
  377. doing = true
  378. local weld = Instance.new('Weld',chr["Right Arm"])
  379. weld.Part0 = chr["Right Arm"]
  380. weld.Part1 = chr.Torso
  381. weld.C0 = CFrame.new(-1.5,0,0)
  382. for i=1,25 do
  383. weld.C0 = weld.C0:lerp(CFrame.new(-0.5,0.7,-0.5)*CFrame.Angles(math.pi/8,math.pi/1,math.pi/1.5),i/25)
  384. wait()
  385. end
  386. wait()
  387. slicing = true
  388. for i=1,5 do
  389. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0.8,0)*CFrame.Angles(-math.pi/8,0,-math.pi/4),i/5)
  390. wait()
  391. end
  392. wait()
  393. for i=1,12.5 do
  394. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i/12.5)
  395. wait()
  396. end
  397. chr["Right Arm"]:Destroy()
  398. doing = false
  399. slicing = false
  400. end
  401. end
  402. end
  403. end)
  404. end)
  405.  
  406. partz.Touched:connect(function(hit)
  407. if hit.Parent:FindFirstChild('Humanoid') and stabbing and hit.Parent ~= chr then
  408. hit.Parent.Humanoid.Health = 0
  409. elseif hit.Parent:FindFirstChild('heck') == nil and slicing then
  410. local he = Instance.new('IntValue',hit.Parent)
  411. he.Name = "heck"
  412. Kill(hit.Parent)
  413. end
  414. end)
  415.  
  416. toolz.Unequipped:connect(function(mouse)
  417. if partz:FindFirstChildOfClass('Weld') then
  418. partz:FindFirstChildOfClass('Weld'):Destroy()
  419. end
  420. end)
  421. toolz.AncestryChanged:connect(function(child, parent)
  422. if parent ~= chr and parent ~= plr.Backpack then
  423. wait()
  424. toolz.Parent = plr.Backpack
  425. end
  426. end)
  427.  
  428. mouse.KeyDown:connect(function(key)
  429. if key == "n" then
  430. wait()
  431. toolz:Equip()
  432. end
  433. end)
  434. if chr:FindFirstChildOfClass('Shirt') then
  435. shirt = chr:FindFirstChildOfClass('Shirt'):Clone()
  436. end
  437. if chr:FindFirstChildOfClass('Pants') then
  438. pants = chr:FindFirstChildOfClass('Pants'):Clone()
  439. end
  440. for i,v in pairs(chr:GetChildren()) do
  441. if v.ClassName == "Accessory" then
  442. table.insert(hats,v:Clone())
  443. end
  444. end
  445. local rootjoint = chr.HumanoidRootPart.RootJoint:Clone()
  446. chr.Humanoid:Destroy()
  447. local gui = Instance.new('ScreenGui')
  448. gui.Parent = game.Players.LocalPlayer.PlayerGui
  449. gui.Name = "Deadpool"
  450. gui.ResetOnSpawn = false
  451. local frame = Instance.new('Frame',gui)
  452. frame.Size = UDim2.new(0.2,0,0.2,0)
  453. frame.Position = UDim2.new(0,0,0.9,0)
  454. frame.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  455. frame.BorderSizePixel = 4
  456. frame.BorderColor3 = Color3.fromRGB(198, 45, 45)
  457. frame.Active = true
  458. frame.Draggable = true
  459. local txt = Instance.new('TextLabel',frame)
  460. txt.Text = "Deadpool Gui"
  461. txt.TextColor3 = Color3.fromRGB(198, 45, 45)
  462. txt.Size = UDim2.new(1,0,0.3,0)
  463. txt.TextScaled = true
  464. txt.BackgroundTransparency = 1
  465. local but = Instance.new('TextButton',frame)
  466. but.Text = "Toggle Suit"
  467. but.TextColor3 = Color3.fromRGB(38, 38, 38)
  468. but.Size = UDim2.new(0.7,0,0.3,0)
  469. but.Position = UDim2.new(0.15,0,0.5,0)
  470. but.BorderSizePixel = 0
  471. but.TextScaled = true
  472. but.BackgroundColor3 = Color3.fromRGB(198, 45, 45)
  473. but.MouseButton1Down:connect(function()
  474. on = not on
  475. end)
  476. game:GetService('RunService').Stepped:connect(function()
  477. if chr.Parent == nil then
  478. chr.RobloxLocked = false
  479. chr.Parent = game.Workspace
  480. end
  481. if chr:FindFirstChildOfClass('Humanoid') == nil then
  482. hum:Clone().Parent = chr
  483. chr.Animate:Destroy()
  484. anim:Clone().Parent = chr
  485. end
  486. if chr:FindFirstChild('HumanoidRootPart') == nil then
  487. humroot:Clone().Parent = chr
  488. humroot.CFrame = lastpos
  489. chr.Humanoid:Destroy()
  490. hum:Clone().Parent = chr
  491. chr.Animate:Destroy()
  492. anim:Clone().Parent = chr
  493. chr.HumanoidRootPart.RootJoint:Destroy()
  494. end
  495. if chr:FindFirstChild('Torso') == nil then
  496. chr.Humanoid:Destroy()
  497. local tor = tors:Clone()
  498. tor.Parent = chr
  499. hum:Clone().Parent = chr
  500. chr.Animate:Destroy()
  501. anim:Clone().Parent = chr
  502. end
  503. if chr.HumanoidRootPart:FindFirstChild('RootJoint') == nil then
  504. local rtj = rootjoint:Clone()
  505. rtj.Parent = chr.HumanoidRootPart
  506. rtj.Part0 = chr.HumanoidRootPart
  507. rtj.Part1 = chr.Torso
  508. end
  509. if chr:FindFirstChild('Head') == nil then
  510. chr.Humanoid:Destroy()
  511. head:Clone().Parent = chr
  512. hum:Clone().Parent = chr
  513. chr.Animate:Destroy()
  514. anim:Clone().Parent = chr
  515. end
  516. if chr.Torso:FindFirstChild('Neck') == nil then
  517. chr.Humanoid:Destroy()
  518. local hec = neck:Clone()
  519. hec.Parent = chr.Torso
  520. hec.Part0 = chr.Torso
  521. hec.Part1 = chr.Head
  522. hum:Clone().Parent = chr
  523. chr.Animate:Destroy()
  524. anim:Clone().Parent = chr
  525. end
  526. if chr:FindFirstChild('Right Leg') == nil then
  527. rightleg:Clone().Parent = chr
  528. local fi = righthip:Clone()
  529. fi.Parent = chr.Torso
  530. fi.Part0 = chr.Torso
  531. fi.Part1 = chr["Right Leg"]
  532. end
  533. if chr:FindFirstChild('Right Arm') == nil then
  534. rightarm:Clone().Parent = chr
  535. local fi = rightshoulder:Clone()
  536. fi.Parent = chr.Torso
  537. fi.Part0 = chr.Torso
  538. fi.Part1 = chr["Right Arm"]
  539. end
  540. if chr:FindFirstChild('Left Leg') == nil then
  541. leftleg:Clone().Parent = chr
  542. local fi = lefthip:Clone()
  543. fi.Parent = chr.Torso
  544. fi.Part0 = chr.Torso
  545. fi.Part1 = chr["Left Leg"]
  546. end
  547. if chr:FindFirstChild('Left Arm') == nil then
  548. leftarm:Clone().Parent = chr
  549. local fi = leftshoulder:Clone()
  550. fi.Parent = chr.Torso
  551. fi.Part0 = chr.Torso
  552. fi.Part1 = chr["Left Arm"]
  553. end
  554. for i,v in pairs(chr:GetChildren()) do
  555. if v.Name == "Mask" or v.ClassName == "Accessory" or v.ClassName == "Shirt" or v.ClassName == "Pants" or v.Name == "KatanaHolder" then
  556. v:Destroy()
  557. end
  558. end
  559. chr.Humanoid.Health = chr.Humanoid.MaxHealth
  560. if partz:FindFirstChild('Weld') == nil and toolz.Parent == chr then
  561. local weld = Instance.new('Weld',partz)
  562. weld.Part0 = partz
  563. weld.Part1 = chr["Right Arm"]
  564. weld.C0 = CFrame.new(0.9,0,-1.25)*CFrame.Angles(math.pi,0,-math.pi/2)
  565. end
  566. lastpos = chr.HumanoidRootPart.CFrame
  567. local kat = Instance.new('Part',chr)
  568. kat.Size = Vector3.new(0.4,3,0.2)
  569. kat.Name = "KatanaHolder"
  570. kat.Material = Enum.Material.SmoothPlastic
  571. kat.BrickColor = BrickColor.new('Really black')
  572. kat.CanCollide = false
  573. local we = Instance.new('Weld',kat)
  574. we.Part0 = kat
  575. we.Part1 = chr.Torso
  576. we.C0 = CFrame.new(0,0,-0.5)*CFrame.Angles(0,0,0.5)
  577. if on == true then
  578. local shirt = Instance.new('Shirt',chr)
  579. shirt.ShirtTemplate = 'rbxassetid://379545459'
  580. local pants = Instance.new('Pants',chr)
  581. pants.PantsTemplate = 'rbxassetid://379545671'
  582. local mask = Instance.new('Part',chr)
  583. mask.Name = "Mask"
  584. mask.Size = Vector3.new(2,1,1)
  585. mask.BrickColor = BrickColor.new('Bright red')
  586. local mesh = Instance.new('SpecialMesh',mask)
  587. mesh.Scale = Vector3.new(1.3,1.3,1.3)
  588. local weld = Instance.new('Weld',mask)
  589. weld.Part0 = mask
  590. weld.Part1 = chr.Head
  591. local eyesurround = Instance.new('Part',mask)
  592. eyesurround.BrickColor = BrickColor.new('Really black')
  593. eyesurround.Size = Vector3.new(0.3,0.5,0.2)
  594. local mesh2 = Instance.new('SpecialMesh',eyesurround)
  595. mesh2.MeshType = Enum.MeshType.Sphere
  596. mesh2.Scale = Vector3.new(1,1,0.5)
  597. local weld2 = Instance.new('Weld',eyesurround)
  598. weld2.Part0 = eyesurround
  599. weld2.Part1 = mask
  600. weld2.C0 = CFrame.new(0.1,-0.22,0.58)*CFrame.Angles(0,0,-0.2)
  601. local eyesurround2 = Instance.new('Part',mask)
  602. eyesurround2.BrickColor = BrickColor.new('Really black')
  603. eyesurround2.Size = Vector3.new(0.3,0.5,0.2)
  604. local mesh3 = Instance.new('SpecialMesh',eyesurround2)
  605. mesh3.MeshType = Enum.MeshType.Sphere
  606. mesh3.Scale = Vector3.new(1,1,0.5)
  607. local weld3 = Instance.new('Weld',eyesurround2)
  608. weld3.Part0 = eyesurround2
  609. weld3.Part1 = mask
  610. weld3.C0 = CFrame.new(-0.1,-0.22,0.58)*CFrame.Angles(0,0,0.2)
  611. local eye = Instance.new('Part',mask)
  612. eye.BrickColor = BrickColor.new('Institutional white')
  613. eye.Size = Vector3.new(0.2,0.2,0.2)
  614. local mesh4 = Instance.new('SpecialMesh',eye)
  615. mesh4.MeshType = Enum.MeshType.Sphere
  616. mesh4.Scale = Vector3.new(1,1,0.5)
  617. local weld4 = Instance.new('Weld',eye)
  618. weld4.Part0 = eye
  619. weld4.Part1 = mask
  620. weld4.C0 = CFrame.new(0.1,-0.22,0.59)*CFrame.Angles(0,0,-0.2)
  621. local eye2 = Instance.new('Part',mask)
  622. eye2.BrickColor = BrickColor.new('Institutional white')
  623. eye2.Size = Vector3.new(0.2,0.2,0.2)
  624. local mesh5 = Instance.new('SpecialMesh',eye2)
  625. mesh5.MeshType = Enum.MeshType.Sphere
  626. mesh5.Scale = Vector3.new(1,1,0.5)
  627. local weld5 = Instance.new('Weld',eye2)
  628. weld5.Part0 = eye2
  629. weld5.Part1 = mask
  630. weld5.C0 = CFrame.new(-0.1,-0.22,0.59)*CFrame.Angles(0,0,0.2)
  631. else
  632. chr.Head.Transparency = 0
  633. if shirt ~= nil then
  634. shirt:Clone().Parent = chr
  635. end
  636. if pants ~= nil then
  637. pants:Clone().Parent = chr
  638. end
  639. for i,v in pairs(hats) do
  640. v:Clone().Parent = chr
  641. end
  642. end
  643. end)
Add Comment
Please, Sign In to add comment