sIendytubble

leg kick

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