Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- 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
- player = game.Players.LocalPlayer
- function lerp(weld,start,endpart,numbers)
- weld.C0 = weld.C0:lerp()
- end
- char = player.Character
- larm = char["Left Arm"]
- rarm = char["Right Arm"]
- lleg = char["Left Leg"]
- rleg = char["Right Leg"]
- torso = char.Torso
- head = char.Head
- Part0 = Instance.new("Part")
- SpecialMesh1 = Instance.new("SpecialMesh")
- Weld2 = Instance.new("Weld")
- Part0.Name = "Handle"
- Part0.Parent = char
- Part0.CanCollide = false
- 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)
- Part0.Orientation = Vector3.new(0, -90, -90)
- Part0.Position = Vector3.new(11.69874, 2.00002789, -63.1375313)
- Part0.Rotation = Vector3.new(90, -90, 0)
- Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part0.Size = Vector3.new(0.200000003, 0.0500000007, 4.65000105)
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.BrickColor = BrickColor.new("Dark stone grey")
- Part0.Reflectance = 0.40000000596046
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part0.brickColor = BrickColor.new("Dark stone grey")
- SpecialMesh1.Parent = Part0
- SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=12169519"
- SpecialMesh1.Scale = Vector3.new(1.70000005, 1.70000005, 1.49899995)
- SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=12169420"
- SpecialMesh1.MeshType = Enum.MeshType.FileMesh
- Weld2.Parent = Part0
- 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)
- Weld2.Part0 = torso
- Weld2.Part1 = Part0
- Weld2.part1 = Part0
- Weld2.C0 = CFrame.new(-1.05,-1,0) * CFrame.Angles(math.rad(12),math.rad(0),math.rad(90))
- mouse = player:GetMouse()
- equipped = false
- weldarmx = math.rad(45)
- weldarmy = math.rad(0)
- weldarmz = math.rad(-45)
- weldarmxx = -0.1
- weldarmyy = 0
- weldarmzz = -1
- game:GetService("RunService").Stepped:Connect(function()
- if char:FindFirstChild("weldarm") ~= nil then
- weldarm.C0 = weldarm.C0:lerp(CFrame.new(weldarmxx,weldarmyy,weldarmzz) * CFrame.Angles(weldarmx,weldarmy,weldarmz),0.25)
- end
- end)
- function equip()
- weldarmx = math.rad(45)
- weldarmy = math.rad(0)
- weldarmz = math.rad(-45)
- weldarmxx = -0.1
- weldarmyy = 0
- weldarmzz = -1
- weldarm = Instance.new("Weld",char)
- weldarm.Part0 = torso
- weldarm.Part1 = rarm
- weldarm.Name = "weldarm"
- weldarm.C0 = CFrame.new(1.5,0,0)
- --weldarm.C0 = weldarm.C0:lerp(CFrame.new(-0.1,0,-1) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(-45)),0.25)
- wait(0.3)
- weldarmx = 0
- weldarmy = 0
- weldarmz = 0
- weldarmxx = 1.5
- weldarmyy = 0
- weldarmzz = 0
- Weld2.Part0 = rarm
- Weld2.C0 = CFrame.new(0,-1,-2) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(90))
- wait()
- for i,v in pairs(char:GetChildren()) do
- if v.Name == "weldarm" then
- v:Destroy()
- end
- end
- wait()
- end
- function unequip()
- weldarmx = math.rad(45)
- weldarmy = math.rad(0)
- weldarmz = math.rad(-45)
- weldarmxx = -0.1
- weldarmyy = 0
- weldarmzz = -1
- weldarm = Instance.new("Weld",char)
- weldarm.Part0 = torso
- weldarm.Part1 = rarm
- weldarm.Name = "weldarm"
- weldarm.C0 = CFrame.new(1.5,0,0)
- --weldarm.C0 = weldarm.C0:lerp(CFrame.new(-0.1,0,-1) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(-45)),0.25)
- wait(0.3)
- weldarmx = 0
- weldarmy = 0
- weldarmz = 0
- weldarmxx = 1.5
- weldarmyy = 0
- weldarmzz = 0
- Weld2.C0 = CFrame.new(-1.05,-1,0) * CFrame.Angles(math.rad(12),math.rad(0),math.rad(90))
- Weld2.Part0 = torso
- wait()
- for i,v in pairs(char:GetChildren()) do
- if v.Name == "weldarm" then
- v:Destroy()
- end
- end
- wait()
- end
- swinging = false
- mouse.KeyDown:Connect(function(key)
- if key == "z" then
- if equipped == false then
- equipped = true
- equip()
- else
- equipped = false
- unequip()
- end
- end
- end)
- swordcooldown = false
- mouse.Button1Down:Connect(function()
- if equipped == true then
- if swordcooldown == false then
- Sound2:Play()
- weldarmx = math.rad(0)
- weldarmy = math.rad(0)
- weldarmz = math.rad(90)
- weldarmxx = 2
- weldarmyy = 0.5
- weldarmzz = 0
- weldarm = Instance.new("Weld",char)
- weldarm.Part0 = torso
- weldarm.Part1 = rarm
- weldarm.Name = "weldarm"
- weldarm.C0 = CFrame.new(2,0.5,0)
- wait(0.1)
- swinging = false
- weldarmx = math.rad(0)
- weldarmy = math.rad(25)
- weldarmz = math.rad(-90)
- weldarmxx = -0.1
- weldarmyy = 0.5
- weldarmzz = -1
- swinging = true
- --weldarm.C0 = weldarm.C0:lerp(CFrame.new(-0.1,0,-1) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(-45)),0.25)
- weldarmzz = -1
- wait(0.1)
- weldarmx = math.rad(45)
- weldarmy = math.rad(0)
- weldarmz = math.rad(-45)
- weldarmxx = -0.1
- weldarmyy = 0
- weldarmzz = -1
- for i,v in pairs(char:GetChildren()) do
- if v.Name == "weldarm" then
- v:Destroy()
- end
- end
- wait()
- swinging = false
- swordcooldown = false
- end
- end
- end)
- decap_sound = Instance.new("Sound",Part0)
- decap_sound.Volume = 10
- decap_sound.SoundId = "rbxassetid://3533899133"
- Sound2 = Instance.new("Sound",Part0)
- Sound2.Parent = Part0
- Sound2.SoundId = "rbxassetid://2235655773"
- Sound2.Volume = 1
- Part0.Touched:Connect(function(hit)
- if swinging == true and hit.Parent ~= char then
- coroutine.resume(coroutine.create(function()
- decap_sound:Play()
- Sound2:Stop()
- target = hit.Parent
- target.Archivable = true
- ragdoll = target:Clone()
- Humanoid = ragdoll.Humanoid
- player = target
- --[[
- if Humanoid.RigType == Enum.HumanoidRigType.R15 then
- player.Character.LeftLowerArm:remove()
- player.Character.RightLowerArm:remove()
- player.Character.LeftUpperArm:remove()
- player.Character.RightUpperArm:remove()
- player.Character.LeftLowerLeg:remove()
- player.Character.LeftUpperLeg:remove()
- player.Character.RightLowerLeg:remove()
- player.Character.RightUpperLeg:remove()
- player.Character.LowerTorso:remove()
- else
- player.Character["Right Arm"]:remove()
- player.Character["Left Arm"]:remove()
- player.Character["Left Leg"]:remove()
- player.Character["Right Leg"]:remove()
- end
- for i,v in pairs(target:GetChildren()) do
- if v.Name == "Head" or v.Name == "Torso" or v.Name == "UpperTorso" then
- weldo = Instance.new("Weld",v)
- weldo.Part0 = ragdoll[v.Name]
- weldo.Part1 = v
- end
- end
- --]]
- target.Humanoid.PlatformStand = true
- target.Humanoid.Name = "DEADMIDGET"
- hit.Velocity = Part0.Velocity
- coroutine.resume(coroutine.create(function()
- if target:FindFirstChild("UpperTorso") then
- player.LeftLowerArm:remove()
- player.RightLowerArm:remove()
- player.LeftUpperArm:remove()
- player.RightUpperArm:remove()
- player.LeftLowerLeg:remove()
- player.LeftUpperLeg:remove()
- player.RightLowerLeg:remove()
- player.RightUpperLeg:remove()
- player.LowerTorso:remove()
- player.LeftFoot:remove()
- player.RightFoot:remove()
- player.LeftHand:remove()
- player.RightHand:remove()
- end
- end))
- coroutine.resume(coroutine.create(function()
- if target:FindFirstChild("Torso") then
- player["Right Arm"]:remove()
- player["Left Arm"]:remove()
- player["Left Leg"]:remove()
- player["Right Leg"]:remove()
- for i,v in pairs(player:GetChildren()) do
- if v.Name == "Head" or v.Name == "Torso" or v.Name == "UpperTorso" or v.Name == "HumanoidRootPart" then
- weldo = Instance.new("Weld",v)
- weldo.Part0 = ragdoll[v.Name]
- weldo.Part1 = v
- end
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- wait(math.random(1,3))
- local aidsificating = Humanoid.Parent
- local thang = "Torso"
- if aidsificating:FindFirstChild('UpperTorso') then
- thang = "UpperTorso"
- end
- for i = 1,8 do
- local ayybleed = Instance.new('Part',aidsificating)
- ayybleed.Size = Vector3.new(0.2,0.2,0.2)
- ayybleed.BrickColor = BrickColor.new('Maroon')
- ayybleed.Material = Enum.Material.SmoothPlastic
- ayybleed.Name = "ayybleed"
- ayybleed.CanCollide = false
- ayybleed.Transparency = 1
- ayybleed.CFrame = aidsificating[thang].CFrame
- ayybleed:BreakJoints()
- local ayybleed2 = Instance.new('Part',aidsificating)
- ayybleed2.Size = Vector3.new(0.2,0.2,0.2)
- ayybleed2.BrickColor = BrickColor.new('Maroon')
- ayybleed2.Material = Enum.Material.SmoothPlastic
- ayybleed2.Name = "ayybleed"
- ayybleed2.CanCollide = false
- ayybleed2.Transparency = 1
- ayybleed2.CFrame = aidsificating[thang].CFrame * CFrame.new(math.random(0.1,0.6),0,math.random(0.1,0.6))
- ayybleed2:BreakJoints()
- local ayybleed3 = Instance.new('Part',aidsificating)
- ayybleed3.Size = Vector3.new(0.2,0.2,0.2)
- ayybleed3.BrickColor = BrickColor.new('Maroon')
- ayybleed3.Material = Enum.Material.SmoothPlastic
- ayybleed3.Name = "ayybleed"
- ayybleed3.CanCollide = false
- ayybleed3.Transparency = 1
- ayybleed3.CFrame = aidsificating[thang].CFrame * CFrame.new(math.random(-0.1,0.6),0,math.random(-0.1,0.6))
- ayybleed3:BreakJoints()
- local bleedBLEED= coroutine.wrap(function()
- bleed(ayybleed,true)
- end)
- local bleedBLEED2= coroutine.wrap(function()
- bleed(ayybleed2,true)
- end)
- local bleedBLEED3= coroutine.wrap(function()
- bleed(ayybleed3,true)
- end)
- bleedBLEED()
- bleedBLEED2()
- bleedBLEED3()
- end
- end))
- ragdoll.Parent = workspace
- for i,v in pairs(target:GetChildren()) do
- if v.ClassName == "Script" then
- v:Destroy()
- end
- end
- target.Parent = ragdoll
- ragdoll.Name = ""
- target:FindFirstChildOfClass("Humanoid").PlatformStand = true
- target:FindFirstChildOfClass("Humanoid").BreakJointsOnDeath = false
- coroutine.resume(coroutine.create(function()
- while wait() do
- --target:FindFirstChildOfClass("Humanoid").Health = target:FindFirstChildOfClass("Humanoid").Health - 0.4
- end
- end))
- target:FindFirstChildOfClass("Humanoid").Died:Connect(function()
- ragdoll.Name = target.Name
- end)
- if Humanoid.RigType == Enum.HumanoidRigType.R15 then
- ragdoll.Humanoid.BreakJointsOnDeath=false
- ragdoll.Humanoid.Name = "DEADMIDGET"
- ragdoll:FindFirstChildOfClass("Humanoid").PlatformStand = true
- local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
- local connection = Instance.new('BallSocketConstraint', limb)
- connection.LimitsEnabled = true
- connection.Attachment0 = attachementone
- connection.Attachment1 = attachmenttwo
- connection.TwistLimitsEnabled = true
- connection.TwistLowerAngle = twistlower
- connection.TwistUpperAngle = twistupper
- local limbcollider = Instance.new("Part", limb)
- limbcollider.Size = Vector3.new(0.1,1,1)
- limbcollider.Shape = "Cylinder"
- limbcollider.Transparency = 1
- limbcollider:BreakJoints()
- local limbcolliderweld = Instance.new("Weld", limbcollider)
- limbcolliderweld.Part0 = limb
- limbcolliderweld.Part1 = limbcollider
- limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
- end
- local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
- local connection = Instance.new('HingeConstraint', limb)
- connection.LimitsEnabled = true
- connection.Attachment0 = attachementone
- connection.Attachment1 = attachmenttwo
- connection.LimitsEnabled = true
- connection.LowerAngle = lower
- connection.UpperAngle = upper
- local limbcollider = Instance.new("Part", limb)
- limbcollider.Size = Vector3.new(0.1,1,1)
- limbcollider.Shape = "Cylinder"
- limbcollider.Transparency = 1
- limbcollider:BreakJoints()
- local limbcolliderweld = Instance.new("Weld", limbcollider)
- limbcolliderweld.Part0 = limb
- limbcolliderweld.Part1 = limbcollider
- limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
- end
- local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
- HeadAttachment.Position = Vector3.new(0, -0.5, 0)
- for i,v in pairs(ragdoll:GetDescendants()) do
- if v.ClassName == "Motor6D" or v.ClassName == "Motor" then
- if v.Name == "Neck" or v.Name == "neck" then
- v:remove()
- end
- end
- end
- if ragdoll.UpperTorso:findFirstChild("NeckAttachment") then
- --makehingeconnections(Humanoid.Parent.Head, HeadAttachment, ragdoll.UpperTorso.NeckAttachment, -50, 50)
- end
- function bleed(frick,OwO)
- while frick.Parent ~= nil and frick.Parent.Parent ~= nil do
- local reeee = coroutine.wrap(function()
- local thing = Instance.new('Part',workspace)
- thing.Size = Vector3.new(0.2,0.2,0.2)
- thing.CFrame = frick.CFrame
- thing.Transparency = 1
- thing.BrickColor = BrickColor.new('Maroon')
- thing.Material = Enum.Material.SmoothPlastic
- thing.Name = "Blood"
- thing.CanCollide =false
- thing:BreakJoints()
- local rawrxd = Instance.new('BodyForce',thing)
- rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0)
- local coru = coroutine.wrap(function()
- wait(0.01)
- rawrxd:Destroy()
- end)
- coru()
- local ree = Instance.new('ParticleEmitter',thing)
- if OwO ~= true then
- ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(117, 0, 0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(117, 0, 0))})
- else
- ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(117, 0, 0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(117, 0, 0))})
- end
- ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)})
- ree.Texture = 'rbxassetid://867743272'
- ree.Lifetime = NumberRange.new(0.4)
- ree.Rate = 50
- ree.LockedToPart = true
- ree.Speed = NumberRange.new(0, 2)
- thing.Touched:connect(function(tou)
- 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
- local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z)
- local Point1 = pos-Vector3.new(0.01,0.01,0.01)
- local Point2 = pos+Vector3.new(0.01,0.01,0.01)
- local Region = Region3.new(Point1,Point2)
- for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do
- if Part.Name == "BloodPuddle" then
- tou = Part
- end
- end
- thing:Destroy()
- if tou.Name == "BloodPuddle" then
- if tou.Size.X < 1 then
- pcall(function()
- tou.Sound:Play()
- end)
- end
- local reee = tou.CFrame
- if tou.Transparency > -0.2 then
- tou.Transparency = tou.Transparency -0.1
- end
- if tou.Size.X < 3 then
- tou.Size = tou.Size+Vector3.new(0.1,0,0.1)
- tou.CFrame = reee
- end
- elseif tou.CanCollide == true then
- local bloodlol = Instance.new('Part',workspace)
- local sound = Instance.new('Sound',bloodlol)
- sound.SoundId = 'rbxassetid://685857471'
- sound.Volume = 0.025
- sound:Play()
- bloodlol.Size=Vector3.new(0.2,0.2,0.2)
- bloodlol.Name = "BloodPuddle"
- bloodlol.Anchored = true
- bloodlol.CanCollide = false
- bloodlol.Material = Enum.Material.SmoothPlastic
- if OwO ~= true then
- bloodlol.Color = Color3.fromRGB(117, 0, 0)
- else
- bloodlol.Color = Color3.fromRGB(117, 0, 0)
- end
- local cyl = Instance.new('CylinderMesh',bloodlol)
- cyl.Scale = Vector3.new(1,0.1,1)
- bloodlol.CFrame = CFrame.new(pos)
- coroutine.resume(coroutine.create(function()
- local tou = bloodlol
- local reee = tou.CFrame
- while wait() do
- if tou.Size.X < 5 then
- tou.Size = tou.Size+Vector3.new(0.005,0,0.005)
- tou.CFrame = reee
- end
- end
- end))
- local coru=coroutine.wrap(function()
- while bloodlol.Parent ~= nil do
- if bloodlol.Transparency < 1 then
- bloodlol.Transparency = bloodlol.Transparency+0.05
- else
- bloodlol:Destroy()
- end
- wait(0.1)
- end
- end)
- end
- end
- end)
- local coru = coroutine.wrap(function()
- wait(1)
- thing:Destroy()
- end)
- coru()
- end)
- reeee()
- wait()
- end
- end
- local aidsificating = Humanoid.Parent
- local thang = "Torso"
- if aidsificating:FindFirstChild('UpperTorso') then
- thang = "UpperTorso"
- end
- makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
- makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180)
- makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
- makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
- --
- makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180)
- makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
- makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
- --
- makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80)
- makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
- makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
- --
- makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80)
- makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
- makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
- for i,v in pairs(Humanoid.Parent:GetChildren()) do
- if v.ClassName == "Accessory" then
- local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
- if attachment1 then
- for q,w in pairs(Humanoid.Parent:GetChildren()) do
- if w.ClassName == "Part" then
- local attachment2 = w:findFirstChild(attachment1.Name)
- if attachment2 then
- local hinge = Instance.new("HingeConstraint", v.Handle)
- hinge.Attachment0 = attachment1
- hinge.Attachment1 = attachment2
- hinge.LimitsEnabled = true
- hinge.LowerAngle = 0
- hinge.UpperAngle = 0
- end
- end
- end
- end
- end
- end
- for i,v in pairs(ragdoll:GetChildren()) do
- for q,w in pairs(v:GetChildren()) do
- if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] and w.Name ~= "ouch_weld" then
- w:destroy()
- end
- end
- end
- if ragdoll:findFirstChild("HumanoidRootPart") then
- ragdoll.HumanoidRootPart:destroy()
- end
- if ragdoll:findFirstChildOfClass("Humanoid") then
- ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
- end
- for i,v in pairs(player:GetChildren()) do
- if v.Name == "Head" or v.Name == "Torso" or v.Name == "UpperTorso" then
- weldo = Instance.new("Weld",v)
- weldo.Part0 = ragdoll[v.Name]
- weldo.Part1 = v
- end
- end
- else
- local c = ragdoll
- function bleed(frick,OwO)
- while frick.Parent ~= nil and frick.Parent.Parent ~= nil do
- local reeee = coroutine.wrap(function()
- local thing = Instance.new('Part',workspace)
- thing.Size = Vector3.new(0.2,0.2,0.2)
- thing.CFrame = frick.CFrame
- thing.Transparency = 1
- thing.BrickColor = BrickColor.new('Maroon')
- thing.Material = Enum.Material.SmoothPlastic
- thing.Name = "Blood"
- thing.CanCollide =false
- thing:BreakJoints()
- local rawrxd = Instance.new('BodyForce',thing)
- rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0)
- local coru = coroutine.wrap(function()
- wait(0.01)
- rawrxd:Destroy()
- end)
- coru()
- local ree = Instance.new('ParticleEmitter',thing)
- if OwO ~= true then
- ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(117, 0, 0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(117, 0, 0))})
- else
- ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(117, 0, 0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(117, 0, 0))})
- end
- ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)})
- ree.Texture = 'rbxassetid://867743272'
- ree.Lifetime = NumberRange.new(0.4)
- ree.Rate = 50
- ree.LockedToPart = true
- ree.Speed = NumberRange.new(0, 2)
- thing.Touched:connect(function(tou)
- 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
- local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z)
- local Point1 = pos-Vector3.new(0.01,0.01,0.01)
- local Point2 = pos+Vector3.new(0.01,0.01,0.01)
- local Region = Region3.new(Point1,Point2)
- for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do
- if Part.Name == "BloodPuddle" then
- tou = Part
- end
- end
- thing:Destroy()
- if tou.Name == "BloodPuddle" then
- if tou.Size.X < 1 then
- pcall(function()
- tou.Sound:Play()
- end)
- end
- local reee = tou.CFrame
- if tou.Transparency > -0.2 then
- tou.Transparency = tou.Transparency -0.1
- end
- if tou.Size.X < 3 then
- tou.Size = tou.Size+Vector3.new(0.1,0,0.1)
- tou.CFrame = reee
- end
- elseif tou.CanCollide == true then
- local bloodlol = Instance.new('Part',workspace)
- local sound = Instance.new('Sound',bloodlol)
- sound.SoundId = 'rbxassetid://685857471'
- sound.Volume = 0.025
- sound:Play()
- bloodlol.Size=Vector3.new(0.2,0.2,0.2)
- bloodlol.Name = "BloodPuddle"
- bloodlol.Anchored = true
- bloodlol.CanCollide = false
- bloodlol.Material = Enum.Material.SmoothPlastic
- if OwO ~= true then
- bloodlol.Color = Color3.fromRGB(117, 0, 0)
- else
- bloodlol.Color = Color3.fromRGB(117, 0, 0)
- end
- local cyl = Instance.new('CylinderMesh',bloodlol)
- cyl.Scale = Vector3.new(1,0.1,1)
- bloodlol.CFrame = CFrame.new(pos)
- coroutine.resume(coroutine.create(function()
- local tou = bloodlol
- local reee = tou.CFrame
- while wait() do
- if tou.Size.X < 5 then
- tou.Size = tou.Size+Vector3.new(0.005,0,0.005)
- tou.CFrame = reee
- end
- end
- end))
- local coru=coroutine.wrap(function()
- while bloodlol.Parent ~= nil do
- if bloodlol.Transparency < 1 then
- bloodlol.Transparency = bloodlol.Transparency+0.05
- else
- bloodlol:Destroy()
- end
- wait(0.1)
- end
- end)
- end
- end
- end)
- local coru = coroutine.wrap(function()
- wait(1)
- thing:Destroy()
- end)
- coru()
- end)
- reeee()
- wait()
- end
- end
- local aidsificating = Humanoid.Parent
- local thang = "Torso"
- if aidsificating:FindFirstChild('UpperTorso') then
- thang = "UpperTorso"
- end
- ragdoll.Humanoid.BreakJointsOnDeath=false
- ragdoll.Humanoid.Name = "DEADMIDGET"
- ragdoll:FindFirstChildOfClass("Humanoid").PlatformStand = true
- leftleg = Instance.new("Part",c["Left Leg"])
- leftleg.Shape = "Cylinder"
- leftleg.Transparency = 1
- leftleg.Size=Vector3.new(1.4,1,1)
- leftlegweld = Instance.new("Weld",leftleg)
- leftlegweld.Part0=ragdoll["Left Leg"]
- leftlegweld.Part1=leftleg
- leftlegweld.C0=CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- rightleg = Instance.new("Part",ragdoll["Right Leg"])
- rightleg.Shape = "Cylinder"
- rightleg.Size=Vector3.new(1.4,1,1)
- rightleg.Transparency = 1
- rightlegweld = Instance.new("Weld",leftleg)
- rightlegweld.C0=CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- rightlegweld.Part0=c["Right Leg"]
- rightlegweld.Part1=rightleg
- rightarm = Instance.new("Part",c["Right Arm"])
- rightarm.Shape = "Cylinder"
- rightarm.Size=Vector3.new(1.4,1,1)
- rightarm.Transparency = 1
- rightarmweld = Instance.new("Weld",rightarm)
- rightarmweld.C0=CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- rightarmweld.Part0=c["Right Arm"]
- rightarmweld.Part1=rightarm
- leftarm = Instance.new("Part",c["Left Arm"])
- leftarm.Shape = "Cylinder"
- leftarm.Size=Vector3.new(1.4,1,1)
- leftarm.Transparency = 1
- leftarmweld = Instance.new("Weld",leftarm)
- leftarmweld.C0=CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
- leftarmweld.Part0=c["Left Arm"]
- leftarmweld.Part1=leftarm
- head = Instance.new("Part",c.Head)
- head.Size=Vector3.new(1,1,1)
- head.Transparency = 1
- headweld = Instance.new("Weld",head)
- headweld.Part0=c.Head
- headweld.Part1=head
- local RealTorso = ragdoll.Torso
- local RealHead = ragdoll.Head
- local RealLeftleg = ragdoll["Left Leg"]
- local RealRightleg = ragdoll["Right Leg"]
- local RealLeftArm = ragdoll["Left Arm"]
- local RealRightArm = ragdoll["Right Arm"]
- local rightarmglue = Instance.new("Glue", RealTorso)
- rightarmglue.Part0 = RealTorso
- rightarmglue.Part1 = RealRightArm
- rightarmglue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- rightarmglue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- local leftarmglue = Instance.new("Glue", RealTorso)
- leftarmglue.Part0 = RealTorso
- leftarmglue.Part1 = RealLeftArm
- leftarmglue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- leftarmglue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local leftlegglue = Instance.new("Glue", RealTorso)
- leftlegglue.Part0 = RealTorso
- leftlegglue.Part1 = RealLeftleg
- leftlegglue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- leftlegglue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- local rightlegglue = Instance.new("Glue", RealTorso)
- rightlegglue.Part0 = RealTorso
- rightlegglue.Part1 = RealRightleg
- rightlegglue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- rightlegglue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- for i,v in pairs(ragdoll:GetDescendants()) do
- if v.ClassName == "Motor6D" or v.ClassName == "Motor" then
- v:remove()
- end
- end
- player.Humanoid.BreakJointsOnDeath = false
- RealTorso.CanCollide = false
- wait()
- coroutine.resume(coroutine.create(function()
- for i,v in pairs(RealTorso:GetChildren()) do
- if v.ClassName == "Motor6D" then
- v:remove()
- end
- end
- end))
- end
- end))
- end
- end)
Add Comment
Please, Sign In to add comment