sIendytubble

sword with r15 ragdoll (press z to equip)

Jul 14th, 2020
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.14 KB | None | 0 0
  1. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  2. local RealPlayer = Player
  3. local a=RealPlayer;char=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
  4. player = game.Players.LocalPlayer
  5. function lerp(weld,start,endpart,numbers)
  6. weld.C0 = weld.C0:lerp()
  7. end
  8. char = player.Character
  9. larm = char["Left Arm"]
  10. rarm = char["Right Arm"]
  11. lleg = char["Left Leg"]
  12. rleg = char["Right Leg"]
  13. torso = char.Torso
  14. head = char.Head
  15. Part0 = Instance.new("Part")
  16. SpecialMesh1 = Instance.new("SpecialMesh")
  17. Weld2 = Instance.new("Weld")
  18. Part0.Name = "Handle"
  19. Part0.Parent = char
  20. Part0.CanCollide = false
  21. Part0.CFrame = CFrame.new(11.69874, 2.00002789, -63.1375313, -8.74227766e-08, 3.82137093e-15, -1, -1, 4.37113883e-08, 8.74227766e-08, 4.37113883e-08, 1, 0)
  22. Part0.Orientation = Vector3.new(0, -90, -90)
  23. Part0.Position = Vector3.new(11.69874, 2.00002789, -63.1375313)
  24. Part0.Rotation = Vector3.new(90, -90, 0)
  25. Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
  26. Part0.Size = Vector3.new(0.200000003, 0.0500000007, 4.65000105)
  27. Part0.BottomSurface = Enum.SurfaceType.Smooth
  28. Part0.BrickColor = BrickColor.new("Dark stone grey")
  29. Part0.Reflectance = 0.40000000596046
  30. Part0.TopSurface = Enum.SurfaceType.Smooth
  31. Part0.brickColor = BrickColor.new("Dark stone grey")
  32. SpecialMesh1.Parent = Part0
  33. SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=12169519"
  34. SpecialMesh1.Scale = Vector3.new(1.70000005, 1.70000005, 1.49899995)
  35. SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=12169420"
  36. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  37. Weld2.Parent = Part0
  38. Weld2.C0 = CFrame.new(0, -1, -2, -4.37113883e-08, -1, 0, -1, 4.37113883e-08, 8.74227766e-08, -8.74227766e-08, 3.82137093e-15, -1)
  39. Weld2.Part0 = torso
  40. Weld2.Part1 = Part0
  41. Weld2.part1 = Part0
  42. Weld2.C0 = CFrame.new(-1.05,-1,0) * CFrame.Angles(math.rad(12),math.rad(0),math.rad(90))
  43. mouse = player:GetMouse()
  44. equipped = false
  45. weldarmx = math.rad(45)
  46. weldarmy = math.rad(0)
  47. weldarmz = math.rad(-45)
  48. weldarmxx = -0.1
  49. weldarmyy = 0
  50. weldarmzz = -1
  51. game:GetService("RunService").Stepped:Connect(function()
  52. if char:FindFirstChild("weldarm") ~= nil then
  53. weldarm.C0 = weldarm.C0:lerp(CFrame.new(weldarmxx,weldarmyy,weldarmzz) * CFrame.Angles(weldarmx,weldarmy,weldarmz),0.25)
  54. end
  55. end)
  56. function equip()
  57. weldarmx = math.rad(45)
  58. weldarmy = math.rad(0)
  59. weldarmz = math.rad(-45)
  60. weldarmxx = -0.1
  61. weldarmyy = 0
  62. weldarmzz = -1
  63. weldarm = Instance.new("Weld",char)
  64. weldarm.Part0 = torso
  65. weldarm.Part1 = rarm
  66. weldarm.Name = "weldarm"
  67. weldarm.C0 = CFrame.new(1.5,0,0)
  68. --weldarm.C0 = weldarm.C0:lerp(CFrame.new(-0.1,0,-1) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(-45)),0.25)
  69. wait(0.3)
  70. weldarmx = 0
  71. weldarmy = 0
  72. weldarmz = 0
  73. weldarmxx = 1.5
  74. weldarmyy = 0
  75. weldarmzz = 0
  76. Weld2.Part0 = rarm
  77. Weld2.C0 = CFrame.new(0,-1,-2) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(90))
  78. wait()
  79. for i,v in pairs(char:GetChildren()) do
  80. if v.Name == "weldarm" then
  81. v:Destroy()
  82. end
  83. end
  84. wait()
  85. end
  86. function unequip()
  87. weldarmx = math.rad(45)
  88. weldarmy = math.rad(0)
  89. weldarmz = math.rad(-45)
  90. weldarmxx = -0.1
  91. weldarmyy = 0
  92. weldarmzz = -1
  93. weldarm = Instance.new("Weld",char)
  94. weldarm.Part0 = torso
  95. weldarm.Part1 = rarm
  96. weldarm.Name = "weldarm"
  97. weldarm.C0 = CFrame.new(1.5,0,0)
  98. --weldarm.C0 = weldarm.C0:lerp(CFrame.new(-0.1,0,-1) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(-45)),0.25)
  99. wait(0.3)
  100. weldarmx = 0
  101. weldarmy = 0
  102. weldarmz = 0
  103. weldarmxx = 1.5
  104. weldarmyy = 0
  105. weldarmzz = 0
  106. Weld2.C0 = CFrame.new(-1.05,-1,0) * CFrame.Angles(math.rad(12),math.rad(0),math.rad(90))
  107. Weld2.Part0 = torso
  108. wait()
  109. for i,v in pairs(char:GetChildren()) do
  110. if v.Name == "weldarm" then
  111. v:Destroy()
  112. end
  113. end
  114. wait()
  115. end
  116. swinging = false
  117. mouse.KeyDown:Connect(function(key)
  118. if key == "z" then
  119. if equipped == false then
  120. equipped = true
  121. equip()
  122. else
  123. equipped = false
  124. unequip()
  125. end
  126. end
  127. end)
  128. swordcooldown = false
  129. mouse.Button1Down:Connect(function()
  130. if equipped == true then
  131.  
  132. if swordcooldown == false then
  133. Sound2:Play()
  134. weldarmx = math.rad(0)
  135. weldarmy = math.rad(0)
  136. weldarmz = math.rad(90)
  137. weldarmxx = 2
  138. weldarmyy = 0.5
  139. weldarmzz = 0
  140.  
  141.  
  142. weldarm = Instance.new("Weld",char)
  143. weldarm.Part0 = torso
  144. weldarm.Part1 = rarm
  145. weldarm.Name = "weldarm"
  146. weldarm.C0 = CFrame.new(2,0.5,0)
  147. wait(0.1)
  148. swinging = false
  149. weldarmx = math.rad(0)
  150. weldarmy = math.rad(25)
  151. weldarmz = math.rad(-90)
  152. weldarmxx = -0.1
  153. weldarmyy = 0.5
  154. weldarmzz = -1
  155. swinging = true
  156. --weldarm.C0 = weldarm.C0:lerp(CFrame.new(-0.1,0,-1) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(-45)),0.25)
  157. weldarmzz = -1
  158. wait(0.1)
  159. weldarmx = math.rad(45)
  160. weldarmy = math.rad(0)
  161. weldarmz = math.rad(-45)
  162. weldarmxx = -0.1
  163. weldarmyy = 0
  164. weldarmzz = -1
  165. for i,v in pairs(char:GetChildren()) do
  166. if v.Name == "weldarm" then
  167. v:Destroy()
  168. end
  169. end
  170. wait()
  171. swinging = false
  172. swordcooldown = false
  173. end
  174. end
  175. end)
  176. decap_sound = Instance.new("Sound",Part0)
  177. decap_sound.Volume = 10
  178. decap_sound.SoundId = "rbxassetid://3533899133"
  179. Sound2 = Instance.new("Sound",Part0)
  180. Sound2.Parent = Part0
  181. Sound2.SoundId = "rbxassetid://2235655773"
  182. Sound2.Volume = 1
  183. Part0.Touched:Connect(function(hit)
  184. if swinging == true and hit.Parent ~= char then
  185. coroutine.resume(coroutine.create(function()
  186. decap_sound:Play()
  187. Sound2:Stop()
  188. target = hit.Parent
  189. target.Archivable = true
  190. ragdoll = target:Clone()
  191. Humanoid = ragdoll.Humanoid
  192. player = target
  193. --[[
  194. if Humanoid.RigType == Enum.HumanoidRigType.R15 then
  195. player.Character.LeftLowerArm:remove()
  196. player.Character.RightLowerArm:remove()
  197. player.Character.LeftUpperArm:remove()
  198. player.Character.RightUpperArm:remove()
  199. player.Character.LeftLowerLeg:remove()
  200. player.Character.LeftUpperLeg:remove()
  201. player.Character.RightLowerLeg:remove()
  202. player.Character.RightUpperLeg:remove()
  203. player.Character.LowerTorso:remove()
  204. else
  205. player.Character["Right Arm"]:remove()
  206. player.Character["Left Arm"]:remove()
  207. player.Character["Left Leg"]:remove()
  208. player.Character["Right Leg"]:remove()
  209. end
  210. for i,v in pairs(target:GetChildren()) do
  211. if v.Name == "Head" or v.Name == "Torso" or v.Name == "UpperTorso" then
  212. weldo = Instance.new("Weld",v)
  213. weldo.Part0 = ragdoll[v.Name]
  214. weldo.Part1 = v
  215. end
  216. end
  217.  
  218. --]]
  219. target.Humanoid.PlatformStand = true
  220. target.Humanoid.Name = "DEADMIDGET"
  221. hit.Velocity = Part0.Velocity
  222. coroutine.resume(coroutine.create(function()
  223. if target:FindFirstChild("UpperTorso") then
  224. player.LeftLowerArm:remove()
  225. player.RightLowerArm:remove()
  226. player.LeftUpperArm:remove()
  227. player.RightUpperArm:remove()
  228. player.LeftLowerLeg:remove()
  229. player.LeftUpperLeg:remove()
  230. player.RightLowerLeg:remove()
  231. player.RightUpperLeg:remove()
  232. player.LowerTorso:remove()
  233. player.LeftFoot:remove()
  234. player.RightFoot:remove()
  235. player.LeftHand:remove()
  236. player.RightHand:remove()
  237. end
  238. end))
  239. coroutine.resume(coroutine.create(function()
  240. if target:FindFirstChild("Torso") then
  241. player["Right Arm"]:remove()
  242. player["Left Arm"]:remove()
  243. player["Left Leg"]:remove()
  244. player["Right Leg"]:remove()
  245. for i,v in pairs(player:GetChildren()) do
  246. if v.Name == "Head" or v.Name == "Torso" or v.Name == "UpperTorso" or v.Name == "HumanoidRootPart" then
  247. weldo = Instance.new("Weld",v)
  248. weldo.Part0 = ragdoll[v.Name]
  249. weldo.Part1 = v
  250. end
  251. end
  252. end
  253. end))
  254. coroutine.resume(coroutine.create(function()
  255. wait(math.random(1,3))
  256. local aidsificating = Humanoid.Parent
  257. local thang = "Torso"
  258. if aidsificating:FindFirstChild('UpperTorso') then
  259. thang = "UpperTorso"
  260. end
  261. for i = 1,8 do
  262. local ayybleed = Instance.new('Part',aidsificating)
  263. ayybleed.Size = Vector3.new(0.2,0.2,0.2)
  264. ayybleed.BrickColor = BrickColor.new('Maroon')
  265. ayybleed.Material = Enum.Material.SmoothPlastic
  266. ayybleed.Name = "ayybleed"
  267. ayybleed.CanCollide = false
  268. ayybleed.Transparency = 1
  269. ayybleed.CFrame = aidsificating[thang].CFrame
  270. ayybleed:BreakJoints()
  271. local ayybleed2 = Instance.new('Part',aidsificating)
  272. ayybleed2.Size = Vector3.new(0.2,0.2,0.2)
  273. ayybleed2.BrickColor = BrickColor.new('Maroon')
  274. ayybleed2.Material = Enum.Material.SmoothPlastic
  275. ayybleed2.Name = "ayybleed"
  276. ayybleed2.CanCollide = false
  277. ayybleed2.Transparency = 1
  278. ayybleed2.CFrame = aidsificating[thang].CFrame * CFrame.new(math.random(0.1,0.6),0,math.random(0.1,0.6))
  279. ayybleed2:BreakJoints()
  280. local ayybleed3 = Instance.new('Part',aidsificating)
  281. ayybleed3.Size = Vector3.new(0.2,0.2,0.2)
  282. ayybleed3.BrickColor = BrickColor.new('Maroon')
  283. ayybleed3.Material = Enum.Material.SmoothPlastic
  284. ayybleed3.Name = "ayybleed"
  285. ayybleed3.CanCollide = false
  286. ayybleed3.Transparency = 1
  287. ayybleed3.CFrame = aidsificating[thang].CFrame * CFrame.new(math.random(-0.1,0.6),0,math.random(-0.1,0.6))
  288. ayybleed3:BreakJoints()
  289. local bleedBLEED= coroutine.wrap(function()
  290. bleed(ayybleed,true)
  291. end)
  292. local bleedBLEED2= coroutine.wrap(function()
  293. bleed(ayybleed2,true)
  294. end)
  295. local bleedBLEED3= coroutine.wrap(function()
  296. bleed(ayybleed3,true)
  297. end)
  298. bleedBLEED()
  299. bleedBLEED2()
  300. bleedBLEED3()
  301. end
  302. end))
  303. ragdoll.Parent = workspace
  304. for i,v in pairs(target:GetChildren()) do
  305. if v.ClassName == "Script" then
  306. v:Destroy()
  307. end
  308. end
  309. target.Parent = ragdoll
  310. ragdoll.Name = ""
  311. target:FindFirstChildOfClass("Humanoid").PlatformStand = true
  312. target:FindFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
  313. coroutine.resume(coroutine.create(function()
  314. while wait() do
  315. --target:FindFirstChildOfClass("Humanoid").Health = target:FindFirstChildOfClass("Humanoid").Health - 0.4
  316. end
  317. end))
  318. target:FindFirstChildOfClass("Humanoid").Died:Connect(function()
  319. ragdoll.Name = target.Name
  320. end)
  321. if Humanoid.RigType == Enum.HumanoidRigType.R15 then
  322. ragdoll.Humanoid.BreakJointsOnDeath=false
  323. ragdoll.Humanoid.Name = "DEADMIDGET"
  324. ragdoll:FindFirstChildOfClass("Humanoid").PlatformStand = true
  325. local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
  326. local connection = Instance.new('BallSocketConstraint', limb)
  327. connection.LimitsEnabled = true
  328. connection.Attachment0 = attachementone
  329. connection.Attachment1 = attachmenttwo
  330. connection.TwistLimitsEnabled = true
  331. connection.TwistLowerAngle = twistlower
  332. connection.TwistUpperAngle = twistupper
  333. local limbcollider = Instance.new("Part", limb)
  334. limbcollider.Size = Vector3.new(0.1,1,1)
  335. limbcollider.Shape = "Cylinder"
  336. limbcollider.Transparency = 1
  337. limbcollider:BreakJoints()
  338. local limbcolliderweld = Instance.new("Weld", limbcollider)
  339. limbcolliderweld.Part0 = limb
  340. limbcolliderweld.Part1 = limbcollider
  341. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  342. end
  343. local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
  344. local connection = Instance.new('HingeConstraint', limb)
  345. connection.LimitsEnabled = true
  346. connection.Attachment0 = attachementone
  347. connection.Attachment1 = attachmenttwo
  348. connection.LimitsEnabled = true
  349. connection.LowerAngle = lower
  350. connection.UpperAngle = upper
  351. local limbcollider = Instance.new("Part", limb)
  352. limbcollider.Size = Vector3.new(0.1,1,1)
  353. limbcollider.Shape = "Cylinder"
  354. limbcollider.Transparency = 1
  355. limbcollider:BreakJoints()
  356. local limbcolliderweld = Instance.new("Weld", limbcollider)
  357. limbcolliderweld.Part0 = limb
  358. limbcolliderweld.Part1 = limbcollider
  359. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  360. end
  361. local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
  362. HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  363. for i,v in pairs(ragdoll:GetDescendants()) do
  364. if v.ClassName == "Motor6D" or v.ClassName == "Motor" then
  365. if v.Name == "Neck" or v.Name == "neck" then
  366. v:remove()
  367. end
  368. end
  369. end
  370. if ragdoll.UpperTorso:findFirstChild("NeckAttachment") then
  371. --makehingeconnections(Humanoid.Parent.Head, HeadAttachment, ragdoll.UpperTorso.NeckAttachment, -50, 50)
  372. end
  373. function bleed(frick,OwO)
  374. while frick.Parent ~= nil and frick.Parent.Parent ~= nil do
  375. local reeee = coroutine.wrap(function()
  376. local thing = Instance.new('Part',workspace)
  377. thing.Size = Vector3.new(0.2,0.2,0.2)
  378. thing.CFrame = frick.CFrame
  379. thing.Transparency = 1
  380. thing.BrickColor = BrickColor.new('Maroon')
  381. thing.Material = Enum.Material.SmoothPlastic
  382. thing.Name = "Blood"
  383. thing.CanCollide =false
  384. thing:BreakJoints()
  385. local rawrxd = Instance.new('BodyForce',thing)
  386. rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0)
  387. local coru = coroutine.wrap(function()
  388. wait(0.01)
  389. rawrxd:Destroy()
  390. end)
  391. coru()
  392. local ree = Instance.new('ParticleEmitter',thing)
  393. if OwO ~= true then
  394. ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(117, 0, 0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(117, 0, 0))})
  395. else
  396. ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(117, 0, 0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(117, 0, 0))})
  397. end
  398. ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)})
  399. ree.Texture = 'rbxassetid://867743272'
  400. ree.Lifetime = NumberRange.new(0.4)
  401. ree.Rate = 50
  402. ree.LockedToPart = true
  403. ree.Speed = NumberRange.new(0, 2)
  404. thing.Touched:connect(function(tou)
  405. if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" and tou.Parent.Name ~= 'handle' and tou.Name ~= "blade" and tou.Name ~= 'handle' and tou.Name ~= "Projectile" and tou.Parent.Name ~= "Projectile" then
  406. local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z)
  407. local Point1 = pos-Vector3.new(0.01,0.01,0.01)
  408. local Point2 = pos+Vector3.new(0.01,0.01,0.01)
  409. local Region = Region3.new(Point1,Point2)
  410. for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do
  411. if Part.Name == "BloodPuddle" then
  412. tou = Part
  413. end
  414. end
  415. thing:Destroy()
  416. if tou.Name == "BloodPuddle" then
  417. if tou.Size.X < 1 then
  418. pcall(function()
  419. tou.Sound:Play()
  420. end)
  421. end
  422. local reee = tou.CFrame
  423. if tou.Transparency > -0.2 then
  424. tou.Transparency = tou.Transparency -0.1
  425. end
  426. if tou.Size.X < 3 then
  427. tou.Size = tou.Size+Vector3.new(0.1,0,0.1)
  428. tou.CFrame = reee
  429. end
  430. elseif tou.CanCollide == true then
  431. local bloodlol = Instance.new('Part',workspace)
  432. local sound = Instance.new('Sound',bloodlol)
  433. sound.SoundId = 'rbxassetid://685857471'
  434. sound.Volume = 0.025
  435. sound:Play()
  436. bloodlol.Size=Vector3.new(0.2,0.2,0.2)
  437. bloodlol.Name = "BloodPuddle"
  438. bloodlol.Anchored = true
  439. bloodlol.CanCollide = false
  440. bloodlol.Material = Enum.Material.SmoothPlastic
  441. if OwO ~= true then
  442. bloodlol.Color = Color3.fromRGB(117, 0, 0)
  443. else
  444. bloodlol.Color = Color3.fromRGB(117, 0, 0)
  445. end
  446. local cyl = Instance.new('CylinderMesh',bloodlol)
  447. cyl.Scale = Vector3.new(1,0.1,1)
  448. bloodlol.CFrame = CFrame.new(pos)
  449. coroutine.resume(coroutine.create(function()
  450. local tou = bloodlol
  451. local reee = tou.CFrame
  452. while wait() do
  453. if tou.Size.X < 5 then
  454. tou.Size = tou.Size+Vector3.new(0.005,0,0.005)
  455. tou.CFrame = reee
  456. end
  457. end
  458. end))
  459. local coru=coroutine.wrap(function()
  460. while bloodlol.Parent ~= nil do
  461. if bloodlol.Transparency < 1 then
  462. bloodlol.Transparency = bloodlol.Transparency+0.05
  463. else
  464. bloodlol:Destroy()
  465. end
  466. wait(0.1)
  467. end
  468. end)
  469. end
  470. end
  471. end)
  472. local coru = coroutine.wrap(function()
  473. wait(1)
  474. thing:Destroy()
  475. end)
  476. coru()
  477. end)
  478. reeee()
  479. wait()
  480. end
  481. end
  482.  
  483. local aidsificating = Humanoid.Parent
  484. local thang = "Torso"
  485. if aidsificating:FindFirstChild('UpperTorso') then
  486. thang = "UpperTorso"
  487. end
  488. makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
  489. makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180)
  490. makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
  491. makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
  492. --
  493. makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180)
  494. makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
  495. makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
  496. --
  497. makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80)
  498. makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
  499. makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
  500. --
  501. makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80)
  502. makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
  503. makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
  504. for i,v in pairs(Humanoid.Parent:GetChildren()) do
  505. if v.ClassName == "Accessory" then
  506. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  507. if attachment1 then
  508. for q,w in pairs(Humanoid.Parent:GetChildren()) do
  509. if w.ClassName == "Part" then
  510. local attachment2 = w:findFirstChild(attachment1.Name)
  511. if attachment2 then
  512. local hinge = Instance.new("HingeConstraint", v.Handle)
  513. hinge.Attachment0 = attachment1
  514. hinge.Attachment1 = attachment2
  515. hinge.LimitsEnabled = true
  516. hinge.LowerAngle = 0
  517. hinge.UpperAngle = 0
  518. end
  519. end
  520. end
  521. end
  522. end
  523. end
  524. for i,v in pairs(ragdoll:GetChildren()) do
  525. for q,w in pairs(v:GetChildren()) do
  526. if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] and w.Name ~= "ouch_weld" then
  527. w:destroy()
  528. end
  529. end
  530. end
  531. if ragdoll:findFirstChild("HumanoidRootPart") then
  532. ragdoll.HumanoidRootPart:destroy()
  533. end
  534. if ragdoll:findFirstChildOfClass("Humanoid") then
  535. ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  536. end
  537. for i,v in pairs(player:GetChildren()) do
  538. if v.Name == "Head" or v.Name == "Torso" or v.Name == "UpperTorso" then
  539. weldo = Instance.new("Weld",v)
  540. weldo.Part0 = ragdoll[v.Name]
  541. weldo.Part1 = v
  542. end
  543. end
  544. else
  545.  
  546. local c = ragdoll
  547. function bleed(frick,OwO)
  548. while frick.Parent ~= nil and frick.Parent.Parent ~= nil do
  549. local reeee = coroutine.wrap(function()
  550. local thing = Instance.new('Part',workspace)
  551. thing.Size = Vector3.new(0.2,0.2,0.2)
  552. thing.CFrame = frick.CFrame
  553. thing.Transparency = 1
  554. thing.BrickColor = BrickColor.new('Maroon')
  555. thing.Material = Enum.Material.SmoothPlastic
  556. thing.Name = "Blood"
  557. thing.CanCollide =false
  558. thing:BreakJoints()
  559. local rawrxd = Instance.new('BodyForce',thing)
  560. rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0)
  561. local coru = coroutine.wrap(function()
  562. wait(0.01)
  563. rawrxd:Destroy()
  564. end)
  565. coru()
  566. local ree = Instance.new('ParticleEmitter',thing)
  567. if OwO ~= true then
  568. ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(117, 0, 0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(117, 0, 0))})
  569. else
  570. ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(117, 0, 0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(117, 0, 0))})
  571. end
  572. ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)})
  573. ree.Texture = 'rbxassetid://867743272'
  574. ree.Lifetime = NumberRange.new(0.4)
  575. ree.Rate = 50
  576. ree.LockedToPart = true
  577. ree.Speed = NumberRange.new(0, 2)
  578. thing.Touched:connect(function(tou)
  579. if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" and tou.Parent.Name ~= 'handle' and tou.Name ~= "blade" and tou.Name ~= 'handle' and tou.Name ~= "Projectile" and tou.Parent.Name ~= "Projectile" then
  580. local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z)
  581. local Point1 = pos-Vector3.new(0.01,0.01,0.01)
  582. local Point2 = pos+Vector3.new(0.01,0.01,0.01)
  583. local Region = Region3.new(Point1,Point2)
  584. for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do
  585. if Part.Name == "BloodPuddle" then
  586. tou = Part
  587. end
  588. end
  589. thing:Destroy()
  590. if tou.Name == "BloodPuddle" then
  591. if tou.Size.X < 1 then
  592. pcall(function()
  593. tou.Sound:Play()
  594. end)
  595. end
  596. local reee = tou.CFrame
  597. if tou.Transparency > -0.2 then
  598. tou.Transparency = tou.Transparency -0.1
  599. end
  600. if tou.Size.X < 3 then
  601. tou.Size = tou.Size+Vector3.new(0.1,0,0.1)
  602. tou.CFrame = reee
  603. end
  604. elseif tou.CanCollide == true then
  605. local bloodlol = Instance.new('Part',workspace)
  606. local sound = Instance.new('Sound',bloodlol)
  607. sound.SoundId = 'rbxassetid://685857471'
  608. sound.Volume = 0.025
  609. sound:Play()
  610. bloodlol.Size=Vector3.new(0.2,0.2,0.2)
  611. bloodlol.Name = "BloodPuddle"
  612. bloodlol.Anchored = true
  613. bloodlol.CanCollide = false
  614. bloodlol.Material = Enum.Material.SmoothPlastic
  615. if OwO ~= true then
  616. bloodlol.Color = Color3.fromRGB(117, 0, 0)
  617. else
  618. bloodlol.Color = Color3.fromRGB(117, 0, 0)
  619. end
  620. local cyl = Instance.new('CylinderMesh',bloodlol)
  621. cyl.Scale = Vector3.new(1,0.1,1)
  622. bloodlol.CFrame = CFrame.new(pos)
  623. coroutine.resume(coroutine.create(function()
  624. local tou = bloodlol
  625. local reee = tou.CFrame
  626. while wait() do
  627. if tou.Size.X < 5 then
  628. tou.Size = tou.Size+Vector3.new(0.005,0,0.005)
  629. tou.CFrame = reee
  630. end
  631. end
  632. end))
  633. local coru=coroutine.wrap(function()
  634. while bloodlol.Parent ~= nil do
  635. if bloodlol.Transparency < 1 then
  636. bloodlol.Transparency = bloodlol.Transparency+0.05
  637. else
  638. bloodlol:Destroy()
  639. end
  640. wait(0.1)
  641. end
  642. end)
  643. end
  644. end
  645. end)
  646. local coru = coroutine.wrap(function()
  647. wait(1)
  648. thing:Destroy()
  649. end)
  650. coru()
  651. end)
  652. reeee()
  653. wait()
  654. end
  655. end
  656.  
  657. local aidsificating = Humanoid.Parent
  658. local thang = "Torso"
  659. if aidsificating:FindFirstChild('UpperTorso') then
  660. thang = "UpperTorso"
  661. end
  662. ragdoll.Humanoid.BreakJointsOnDeath=false
  663. ragdoll.Humanoid.Name = "DEADMIDGET"
  664. ragdoll:FindFirstChildOfClass("Humanoid").PlatformStand = true
  665. leftleg = Instance.new("Part",c["Left Leg"])
  666. leftleg.Shape = "Cylinder"
  667. leftleg.Transparency = 1
  668. leftleg.Size=Vector3.new(1.4,1,1)
  669. leftlegweld = Instance.new("Weld",leftleg)
  670. leftlegweld.Part0=ragdoll["Left Leg"]
  671. leftlegweld.Part1=leftleg
  672. leftlegweld.C0=CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  673. rightleg = Instance.new("Part",ragdoll["Right Leg"])
  674. rightleg.Shape = "Cylinder"
  675. rightleg.Size=Vector3.new(1.4,1,1)
  676. rightleg.Transparency = 1
  677. rightlegweld = Instance.new("Weld",leftleg)
  678. rightlegweld.C0=CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  679. rightlegweld.Part0=c["Right Leg"]
  680. rightlegweld.Part1=rightleg
  681. rightarm = Instance.new("Part",c["Right Arm"])
  682. rightarm.Shape = "Cylinder"
  683. rightarm.Size=Vector3.new(1.4,1,1)
  684. rightarm.Transparency = 1
  685. rightarmweld = Instance.new("Weld",rightarm)
  686. rightarmweld.C0=CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  687. rightarmweld.Part0=c["Right Arm"]
  688. rightarmweld.Part1=rightarm
  689. leftarm = Instance.new("Part",c["Left Arm"])
  690. leftarm.Shape = "Cylinder"
  691. leftarm.Size=Vector3.new(1.4,1,1)
  692. leftarm.Transparency = 1
  693. leftarmweld = Instance.new("Weld",leftarm)
  694. leftarmweld.C0=CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  695. leftarmweld.Part0=c["Left Arm"]
  696. leftarmweld.Part1=leftarm
  697. head = Instance.new("Part",c.Head)
  698. head.Size=Vector3.new(1,1,1)
  699. head.Transparency = 1
  700. headweld = Instance.new("Weld",head)
  701. headweld.Part0=c.Head
  702. headweld.Part1=head
  703. local RealTorso = ragdoll.Torso
  704. local RealHead = ragdoll.Head
  705. local RealLeftleg = ragdoll["Left Leg"]
  706. local RealRightleg = ragdoll["Right Leg"]
  707. local RealLeftArm = ragdoll["Left Arm"]
  708. local RealRightArm = ragdoll["Right Arm"]
  709. local rightarmglue = Instance.new("Glue", RealTorso)
  710. rightarmglue.Part0 = RealTorso
  711. rightarmglue.Part1 = RealRightArm
  712. rightarmglue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  713. rightarmglue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  714. local leftarmglue = Instance.new("Glue", RealTorso)
  715. leftarmglue.Part0 = RealTorso
  716. leftarmglue.Part1 = RealLeftArm
  717. leftarmglue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  718. leftarmglue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  719. local leftlegglue = Instance.new("Glue", RealTorso)
  720. leftlegglue.Part0 = RealTorso
  721. leftlegglue.Part1 = RealLeftleg
  722. leftlegglue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  723. leftlegglue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  724. local rightlegglue = Instance.new("Glue", RealTorso)
  725. rightlegglue.Part0 = RealTorso
  726. rightlegglue.Part1 = RealRightleg
  727. rightlegglue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  728. rightlegglue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  729. for i,v in pairs(ragdoll:GetDescendants()) do
  730. if v.ClassName == "Motor6D" or v.ClassName == "Motor" then
  731. v:remove()
  732. end
  733. end
  734. player.Humanoid.BreakJointsOnDeath = false
  735. RealTorso.CanCollide = false
  736. wait()
  737. coroutine.resume(coroutine.create(function()
  738. for i,v in pairs(RealTorso:GetChildren()) do
  739. if v.ClassName == "Motor6D" then
  740. v:remove()
  741. end
  742. end
  743. end))
  744. end
  745. end))
  746. end
  747. end)
Add Comment
Please, Sign In to add comment