Advertisement
Roblox_Xploits

Untitled

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