sIendytubble

titanic funnel weapon

Jun 21st, 2020
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.99 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. player = game.Players.LocalPlayer
  137. char = player.Character
  138. local cfram = char.Head.CFrame
  139. Part0 = Instance.new("Part")
  140. Part1 = Instance.new("Part")
  141. SpecialMesh2 = Instance.new("SpecialMesh")
  142. SpecialMesh3 = Instance.new("SpecialMesh")
  143. Weld4 = Instance.new("Weld")
  144. Part0.Parent = char
  145. Part0.CFrame = CFrame.new(-173.300003, 19.8599701, 35.7999992, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  146. Part0.Orientation = Vector3.new(0, 0, -90)
  147. Part0.Position = Vector3.new(-173.300003, 19.8599701, 35.7999992)
  148. Part0.Rotation = Vector3.new(0, 0, -90)
  149. Part0.Color = Color3.new(0.960784, 0.803922, 0.188235)
  150. Part0.Size = Vector3.new(38.8999367, 14.843399, 14.843399)
  151. Part0.BottomSurface = Enum.SurfaceType.Smooth
  152. Part0.BrickColor = BrickColor.new("Bright yellow")
  153. Part0.TopSurface = Enum.SurfaceType.Smooth
  154. Part0.brickColor = BrickColor.new("Bright yellow")
  155. Part0.Shape = Enum.PartType.Cylinder
  156. Part1.Parent = Part0
  157. Part1.CFrame = CFrame.new(-173.300003, 19.8599701, 35.7999992, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  158. Part1.Orientation = Vector3.new(0, 0, -90)
  159. Part1.Position = Vector3.new(-173.300003, 19.8599701, 35.7999992)
  160. Part1.Rotation = Vector3.new(0, 0, -90)
  161. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  162. Part1.Size = Vector3.new(38.8999367, 14.843399, 14.843399)
  163. Part1.BottomSurface = Enum.SurfaceType.Smooth
  164. Part1.BrickColor = BrickColor.new("Really black")
  165. Part1.TopSurface = Enum.SurfaceType.Smooth
  166. Part1.brickColor = BrickColor.new("Really black")
  167. Part1.Shape = Enum.PartType.Cylinder
  168. SpecialMesh2.Parent = Part1
  169. SpecialMesh2.Offset = Vector3.new(-17.4856148, 0, 0)
  170. SpecialMesh2.Scale = Vector3.new(0.300000012, 1, 1)
  171. SpecialMesh2.MeshType = Enum.MeshType.Cylinder
  172. SpecialMesh3.Parent = Part0
  173. SpecialMesh3.Offset = Vector3.new(3.87339354, 0, 0)
  174. SpecialMesh3.Scale = Vector3.new(0.800000012, 1, 1)
  175. SpecialMesh3.MeshType = Enum.MeshType.Cylinder
  176. Weld4.Parent = Part0
  177. Weld4.Part0 = Part0
  178. Weld4.Part1 = Part1
  179. Weld4.part1 = Part1
  180. Torso = char.Torso
  181. Figure = char
  182. local RightShoulder = Instance.new("Weld")
  183. local LeftShoulder = Instance.new("Weld")
  184. RightShoulder.Part0 = Torso
  185. RightShoulder.Part1 = Figure["Right Arm"]
  186. --RightShoulder.MaxVelocity = 0.15
  187. RightShoulder.Name = "Right Shoulder"
  188. RightShoulder.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  189. RightShoulder.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  190. RightShoulder.Parent = Torso
  191. LeftShoulder.Part0 = Torso
  192. LeftShoulder.Part1 = Figure["Left Arm"]
  193. --LeftShoulder.MaxVelocity = 0.15
  194. LeftShoulder.Name = "Left Shoulder"
  195. LeftShoulder.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  196. LeftShoulder.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  197. LeftShoulder.Parent = Torso
  198. rarm = 180
  199. larm = -180
  200. game:GetService("RunService").RenderStepped:Connect(function()
  201. RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.Angles(0,0,math.rad(rarm)),0.25)
  202. LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.Angles(0,0,math.rad(larm)),0.25)
  203. end)
  204. Part0.Massless = true
  205. Part1.Massless = true
  206. mouse = player:GetMouse()
  207. swinging = false
  208. weldfunnel = Instance.new("Weld",Part0)
  209. weldfunnel.Part0 = char["Right Arm"]
  210. weldfunnel.Part1 = Part0
  211. weldfunnel.C0 = CFrame.new(-1.5,-20.5,0) * CFrame.Angles(0,0,math.rad(90))
  212. Part0.Touched:Connect(function(part)
  213. if swinging == true and part.Parent:FindFirstChildOfClass("Humanoid") then
  214. if part.Parent:FindFirstChildOfClass("Humanoid").Health > -1 then
  215. part.Parent.Head.Velocity = Part0.CFrame.LookVector * 79
  216. coroutine.resume(coroutine.create(function()
  217. target = part.Parent
  218. humanoid = target:FindFirstChildOfClass("Humanoid")
  219. humanoid.BreakJointsOnDeath = false
  220. humanoid.Health = 0
  221. --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))
  222. target.Archivable = true
  223. ragdoll = target
  224. Humanoid = ragdoll:FindFirstChildOfClass("Humanoid")
  225. ragdoll.Parent = workspace
  226. target.HumanoidRootPart.Transparency = 1
  227. if Humanoid.RigType == Enum.HumanoidRigType.R15 then
  228. ragdoll.Humanoid.BreakJointsOnDeath=false
  229. ragdoll.Humanoid.Name = "DEADMIDGET"
  230. ragdoll:FindFirstChildOfClass("Humanoid").PlatformStand = true
  231. local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
  232. local connection = Instance.new('BallSocketConstraint', limb)
  233. connection.LimitsEnabled = true
  234. connection.Attachment0 = attachementone
  235. connection.Attachment1 = attachmenttwo
  236. connection.TwistLimitsEnabled = true
  237. connection.TwistLowerAngle = twistlower
  238. connection.TwistUpperAngle = twistupper
  239. local limbcollider = Instance.new("Part", limb)
  240. limbcollider.Size = Vector3.new(0.1,1,1)
  241. limbcollider.Shape = "Cylinder"
  242. limbcollider.Transparency = 1
  243. limbcollider:BreakJoints()
  244. local limbcolliderweld = Instance.new("Weld", limbcollider)
  245. limbcolliderweld.Part0 = limb
  246. limbcolliderweld.Part1 = limbcollider
  247. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  248. end
  249. local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
  250. local connection = Instance.new('HingeConstraint', limb)
  251. connection.LimitsEnabled = true
  252. connection.Attachment0 = attachementone
  253. connection.Attachment1 = attachmenttwo
  254. connection.LimitsEnabled = true
  255. connection.LowerAngle = lower
  256. connection.UpperAngle = upper
  257. local limbcollider = Instance.new("Part", limb)
  258. limbcollider.Size = Vector3.new(0.1,1,1)
  259. limbcollider.Shape = "Cylinder"
  260. limbcollider.Transparency = 1
  261. limbcollider:BreakJoints()
  262. local limbcolliderweld = Instance.new("Weld", limbcollider)
  263. limbcolliderweld.Part0 = limb
  264. limbcolliderweld.Part1 = limbcollider
  265. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  266. end
  267. local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
  268. HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  269. if ragdoll.UpperTorso:findFirstChild("NeckAttachment") then
  270. makehingeconnections(Humanoid.Parent.Head, HeadAttachment, ragdoll.UpperTorso.NeckAttachment, -50, 50)
  271. end
  272. function bleed(frick,OwO)
  273. while frick.Parent ~= nil and frick.Parent.Parent ~= nil do
  274. local reeee = coroutine.wrap(function()
  275. local thing = Instance.new('Part',workspace)
  276. thing.Size = Vector3.new(0.2,0.2,0.2)
  277. thing.CFrame = frick.CFrame
  278. thing.Transparency = 1
  279. thing.BrickColor = BrickColor.new('Maroon')
  280. thing.Material = Enum.Material.SmoothPlastic
  281. thing.Name = "Blood"
  282. thing.CanCollide =false
  283. thing:BreakJoints()
  284. local rawrxd = Instance.new('BodyForce',thing)
  285. rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0)
  286. local coru = coroutine.wrap(function()
  287. wait(0.01)
  288. rawrxd:Destroy()
  289. end)
  290. coru()
  291. local ree = Instance.new('ParticleEmitter',thing)
  292. if OwO ~= true then
  293. ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))})
  294. else
  295. ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))})
  296. end
  297. ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)})
  298. ree.Texture = 'rbxassetid://867743272'
  299. ree.Lifetime = NumberRange.new(0.4)
  300. ree.Rate = 50
  301. ree.LockedToPart = true
  302. ree.Speed = NumberRange.new(0, 2)
  303. thing.Touched:connect(function(tou)
  304. 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
  305. local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z)
  306. local Point1 = pos-Vector3.new(0.01,0.01,0.01)
  307. local Point2 = pos+Vector3.new(0.01,0.01,0.01)
  308. local Region = Region3.new(Point1,Point2)
  309. for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do
  310. if Part.Name == "BloodPuddle" then
  311. tou = Part
  312. end
  313. end
  314. thing:Destroy()
  315. if tou.Name == "BloodPuddle" then
  316. if tou.Size.X < 1 then
  317. pcall(function()
  318. tou.Sound:Play()
  319. end)
  320. end
  321. local reee = tou.CFrame
  322. if tou.Transparency > -0.2 then
  323. tou.Transparency = tou.Transparency -0.1
  324. end
  325. if tou.Size.X < 3 then
  326. tou.Size = tou.Size+Vector3.new(0.1,0,0.1)
  327. tou.CFrame = reee
  328. end
  329. elseif tou.CanCollide == true then
  330. local bloodlol = Instance.new('Part',workspace)
  331. local sound = Instance.new('Sound',bloodlol)
  332. sound.SoundId = 'rbxassetid://685857471'
  333. sound.Volume = 0.025
  334. sound:Play()
  335. bloodlol.Size=Vector3.new(0.2,0.2,0.2)
  336. bloodlol.Name = "BloodPuddle"
  337. bloodlol.Anchored = true
  338. bloodlol.CanCollide = false
  339. bloodlol.Material = Enum.Material.SmoothPlastic
  340. if OwO ~= true then
  341. bloodlol.Color = Color3.new(117, 0, 0)
  342. else
  343. bloodlol.Color = Color3.new(117, 0, 0)
  344. end
  345. local cyl = Instance.new('CylinderMesh',bloodlol)
  346. cyl.Scale = Vector3.new(1,0.1,1)
  347. bloodlol.CFrame = CFrame.new(pos)
  348. coroutine.resume(coroutine.create(function()
  349. local tou = bloodlol
  350. local reee = tou.CFrame
  351. while wait() do
  352. if tou.Size.X < 5 then
  353. tou.Size = tou.Size+Vector3.new(0.005,0,0.005)
  354. tou.CFrame = reee
  355. end
  356. end
  357. end))
  358. local coru=coroutine.wrap(function()
  359. while bloodlol.Parent ~= nil do
  360. if bloodlol.Transparency < 1 then
  361. bloodlol.Transparency = bloodlol.Transparency+0.05
  362. else
  363. bloodlol:Destroy()
  364. end
  365. wait(0.1)
  366. end
  367. end)
  368. end
  369. end
  370. end)
  371. local coru = coroutine.wrap(function()
  372. wait(1)
  373. thing:Destroy()
  374. end)
  375. coru()
  376. end)
  377. reeee()
  378. wait()
  379. end
  380. end
  381.  
  382. local aidsificating = Humanoid.Parent
  383. local thang = "Torso"
  384. if aidsificating:FindFirstChild('UpperTorso') then
  385. thang = "UpperTorso"
  386. end
  387. makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
  388. makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180)
  389. makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
  390. makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
  391. --
  392. makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180)
  393. makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
  394. makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
  395. --
  396. makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80)
  397. makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
  398. makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
  399. --
  400. makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80)
  401. makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
  402. makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
  403. for i,v in pairs(Humanoid.Parent:GetChildren()) do
  404. if v.ClassName == "Accessory" then
  405. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  406. if attachment1 then
  407. for q,w in pairs(Humanoid.Parent:GetChildren()) do
  408. if w.ClassName == "Part" then
  409. local attachment2 = w:findFirstChild(attachment1.Name)
  410. if attachment2 then
  411. local hinge = Instance.new("HingeConstraint", v.Handle)
  412. hinge.Attachment0 = attachment1
  413. hinge.Attachment1 = attachment2
  414. hinge.LimitsEnabled = true
  415. hinge.LowerAngle = 0
  416. hinge.UpperAngle = 0
  417. end
  418. end
  419. end
  420. end
  421. end
  422. end
  423. for i,v in pairs(ragdoll:GetChildren()) do
  424. for q,w in pairs(v:GetChildren()) do
  425. if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] and w.Name ~= "ouch_weld" then
  426. w:destroy()
  427. end
  428. end
  429. end
  430. if ragdoll:findFirstChild("HumanoidRootPart") then
  431. ragdoll.HumanoidRootPart:destroy()
  432. end
  433. if ragdoll:findFirstChildOfClass("Humanoid") then
  434. ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  435. end
  436. ragdoll.Head.Neck:remove()
  437. else
  438.  
  439. local c = ragdoll
  440. function bleed(frick,OwO)
  441. while frick.Parent ~= nil and frick.Parent.Parent ~= nil do
  442. local reeee = coroutine.wrap(function()
  443. local thing = Instance.new('Part',workspace)
  444. thing.Size = Vector3.new(0.2,0.2,0.2)
  445. thing.CFrame = frick.CFrame
  446. thing.Transparency = 1
  447. thing.BrickColor = BrickColor.new('Maroon')
  448. thing.Material = Enum.Material.SmoothPlastic
  449. thing.Name = "Blood"
  450. thing.CanCollide =false
  451. thing:BreakJoints()
  452. local rawrxd = Instance.new('BodyForce',thing)
  453. rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0)
  454. local coru = coroutine.wrap(function()
  455. wait(0.01)
  456. rawrxd:Destroy()
  457. end)
  458. coru()
  459. local ree = Instance.new('ParticleEmitter',thing)
  460. if OwO ~= true then
  461. ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))})
  462. else
  463. ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))})
  464. end
  465. ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)})
  466. ree.Texture = 'rbxassetid://867743272'
  467. ree.Lifetime = NumberRange.new(0.4)
  468. ree.Rate = 50
  469. ree.LockedToPart = true
  470. ree.Speed = NumberRange.new(0, 2)
  471. thing.Touched:connect(function(tou)
  472. 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
  473. local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z)
  474. local Point1 = pos-Vector3.new(0.01,0.01,0.01)
  475. local Point2 = pos+Vector3.new(0.01,0.01,0.01)
  476. local Region = Region3.new(Point1,Point2)
  477. for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do
  478. if Part.Name == "BloodPuddle" then
  479. tou = Part
  480. end
  481. end
  482. thing:Destroy()
  483. if tou.Name == "BloodPuddle" then
  484. if tou.Size.X < 1 then
  485. pcall(function()
  486. tou.Sound:Play()
  487. end)
  488. end
  489. local reee = tou.CFrame
  490. if tou.Transparency > -0.2 then
  491. tou.Transparency = tou.Transparency -0.1
  492. end
  493. if tou.Size.X < 3 then
  494. tou.Size = tou.Size+Vector3.new(0.1,0,0.1)
  495. tou.CFrame = reee
  496. end
  497. elseif tou.CanCollide == true then
  498. local bloodlol = Instance.new('Part',workspace)
  499. local sound = Instance.new('Sound',bloodlol)
  500. sound.SoundId = 'rbxassetid://685857471'
  501. sound.Volume = 0.025
  502. sound:Play()
  503. bloodlol.Size=Vector3.new(0.2,0.2,0.2)
  504. bloodlol.Name = "BloodPuddle"
  505. bloodlol.Anchored = true
  506. bloodlol.CanCollide = false
  507. bloodlol.Material = Enum.Material.SmoothPlastic
  508. if OwO ~= true then
  509. bloodlol.Color = Color3.new(117, 0, 0)
  510. else
  511. bloodlol.Color = Color3.new(117, 0, 0)
  512. end
  513. local cyl = Instance.new('CylinderMesh',bloodlol)
  514. cyl.Scale = Vector3.new(1,0.1,1)
  515. bloodlol.CFrame = CFrame.new(pos)
  516. coroutine.resume(coroutine.create(function()
  517. local tou = bloodlol
  518. local reee = tou.CFrame
  519. while wait() do
  520. if tou.Size.X < 5 then
  521. tou.Size = tou.Size+Vector3.new(0.005,0,0.005)
  522. tou.CFrame = reee
  523. end
  524. end
  525. end))
  526. local coru=coroutine.wrap(function()
  527. while bloodlol.Parent ~= nil do
  528. if bloodlol.Transparency < 1 then
  529. bloodlol.Transparency = bloodlol.Transparency+0.05
  530. else
  531. bloodlol:Destroy()
  532. end
  533. wait(0.1)
  534. end
  535. end)
  536. end
  537. end
  538. end)
  539. local coru = coroutine.wrap(function()
  540. wait(1)
  541. thing:Destroy()
  542. end)
  543. coru()
  544. end)
  545. reeee()
  546. wait()
  547. end
  548. end
  549.  
  550. local aidsificating = Humanoid.Parent
  551. local thang = "Torso"
  552. if aidsificating:FindFirstChild('UpperTorso') then
  553. thang = "UpperTorso"
  554. end
  555. ragdoll.Humanoid.BreakJointsOnDeath=false
  556. ragdoll.Humanoid.Name = "DEADMIDGET"
  557. ragdoll:FindFirstChildOfClass("Humanoid").PlatformStand = true
  558. leftleg = Instance.new("Part",c["Left Leg"])
  559. leftleg.Shape = "Cylinder"
  560. leftleg.Transparency = 1
  561. leftleg.Size=Vector3.new(1.4,1,1)
  562. leftlegweld = Instance.new("Weld",leftleg)
  563. leftlegweld.Part0=ragdoll["Left Leg"]
  564. leftlegweld.Part1=leftleg
  565. leftlegweld.C0=CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  566. rightleg = Instance.new("Part",ragdoll["Right Leg"])
  567. rightleg.Shape = "Cylinder"
  568. rightleg.Size=Vector3.new(1.4,1,1)
  569. rightleg.Transparency = 1
  570. rightlegweld = Instance.new("Weld",leftleg)
  571. rightlegweld.C0=CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  572. rightlegweld.Part0=c["Right Leg"]
  573. rightlegweld.Part1=rightleg
  574. rightarm = Instance.new("Part",c["Right Arm"])
  575. rightarm.Shape = "Cylinder"
  576. rightarm.Size=Vector3.new(1.4,1,1)
  577. rightarm.Transparency = 1
  578. rightarmweld = Instance.new("Weld",rightarm)
  579. rightarmweld.C0=CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  580. rightarmweld.Part0=c["Right Arm"]
  581. rightarmweld.Part1=rightarm
  582. leftarm = Instance.new("Part",c["Left Arm"])
  583. leftarm.Shape = "Cylinder"
  584. leftarm.Size=Vector3.new(1.4,1,1)
  585. leftarm.Transparency = 1
  586. leftarmweld = Instance.new("Weld",leftarm)
  587. leftarmweld.C0=CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  588. leftarmweld.Part0=c["Left Arm"]
  589. leftarmweld.Part1=leftarm
  590. head = Instance.new("Part",c.Head)
  591. head.Size=Vector3.new(1.4,1,1)
  592. head.Transparency = 1
  593. headweld = Instance.new("Weld",head)
  594. headweld.Part0=c.Head
  595. headweld.Part1=head
  596. player = ragdoll
  597. local RealTorso = player.Torso
  598. local RealHead = player.Head
  599. local RealLeftleg = player["Left Leg"]
  600. local RealRightleg = player["Right Leg"]
  601. local RealLeftArm = player["Left Arm"]
  602. local RealRightArm = player["Right Arm"]
  603. local rightarmglue = Instance.new("Glue", RealTorso)
  604. rightarmglue.Part0 = RealTorso
  605. rightarmglue.Part1 = RealRightArm
  606. rightarmglue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  607. rightarmglue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  608. local leftarmglue = Instance.new("Glue", RealTorso)
  609. leftarmglue.Part0 = RealTorso
  610. leftarmglue.Part1 = RealLeftArm
  611. leftarmglue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  612. leftarmglue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  613. local leftlegglue = Instance.new("Glue", RealTorso)
  614. leftlegglue.Part0 = RealTorso
  615. leftlegglue.Part1 = RealLeftleg
  616. leftlegglue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  617. leftlegglue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  618. local rightlegglue = Instance.new("Glue", RealTorso)
  619. rightlegglue.Part0 = RealTorso
  620. rightlegglue.Part1 = RealRightleg
  621. rightlegglue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  622. rightlegglue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  623. local headglue = Instance.new("Glue", RealTorso)
  624. headglue.Part0 = RealTorso
  625. headglue.Part1 = RealHead
  626. headglue.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  627. headglue.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  628. RealTorso["Left Hip"]:Destroy()
  629. RealTorso["Right Hip"]:Destroy()
  630. RealTorso["Left Shoulder"]:Destroy()
  631. RealTorso["Right Shoulder"]:Destroy()
  632. RealTorso.Neck:Destroy()
  633. RealTorso["Left Hip"]:Destroy()
  634. RealTorso["Right Hip"]:Destroy()
  635. RealTorso["Left Shoulder"]:Destroy()
  636. RealTorso["Right Shoulder"]:Destroy()
  637. RealTorso.Neck:Destroy()
  638. RealTorso["Left Hip"]:Destroy()
  639. RealTorso["Right Hip"]:Destroy()
  640. RealTorso["Left Shoulder"]:Destroy()
  641. RealTorso["Right Shoulder"]:Destroy()
  642. RealTorso.Neck:Destroy()
  643. RealTorso["Left Hip"]:Destroy()
  644. RealTorso["Right Hip"]:Destroy()
  645. RealTorso["Left Shoulder"]:Destroy()
  646. RealTorso["Right Shoulder"]:Destroy()
  647. RealTorso.Neck:Destroy()
  648. RealTorso["Left Hip"]:Destroy()
  649. RealTorso["Right Hip"]:Destroy()
  650. RealTorso["Left Shoulder"]:Destroy()
  651. RealTorso["Right Shoulder"]:Destroy()
  652. RealTorso.Neck:Destroy()
  653. for i = 1,100 do
  654. ga = c:FindFirstChildWhichIsA("Motor6D",true)
  655. if ga then
  656. ga.Part0 = nil
  657. ga.Part1 = nil
  658. ga.Parent = nil
  659. end
  660. end
  661. for i,v in pairs(RealTorso:GetChildren()) do
  662. if v.ClassName == "Motor6D" then
  663. v:remove()
  664. end
  665. end
  666. player.Humanoid.BreakJointsOnDeath = false
  667. RealTorso.CanCollide = false
  668. end
  669. end))
  670. end
  671. end
  672. end)
  673. mouse.Button1Down:Connect(function()
  674. if swinging == false then
  675. swinging = true
  676. rarm = 90
  677. larm = -90
  678. wait(0.1)
  679. rarm = 180
  680. larm = -180
  681. wait(0.9)
  682. swinging = false
  683. end
  684. end)
  685. char.Head.CFrame = cfram
Add Comment
Please, Sign In to add comment