sIendytubble

invisible r15 katana

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