Advertisement
Mista_Ligma

goon

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