Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Event = game.ReplicatedStorage:WaitForChild("Ragdoll")
- Event.OnServerEvent:Connect(function(Player, TRUEORFALSE)
- if TRUEORFALSE == "THANOSAAAHHHSCARYYYYYYYYYY" then
- local Character = Player.Character or Player.CharacterAdded:Wait()
- local Humanoid = Character:WaitForChild("Humanoid")
- local Shirt = Character:FindFirstChild("Shirt")
- local Pants = Character:FindFirstChild("Pants")
- local BodyColors = Character:FindFirstChild("Body Colors")
- local RightArm = Character:FindFirstChild("Right Arm")
- local LeftArm = Character:FindFirstChild("Left Arm")
- local Torso = Character:FindFirstChild("Torso")
- local RightLeg = Character:FindFirstChild("Right Leg")
- local LeftLeg = Character:FindFirstChild("Left Leg")
- local Head = Character:FindFirstChild("Head")
- local FakeShirt
- local FakePants
- local Attachment1
- local Attachment2
- local Attachment3
- local Attachment4
- local Attachment5
- local Attachment6
- local Attachment7
- local Attachment8
- local Attachment9
- local Attachment10
- Humanoid.PlatformStand = true
- Humanoid.AutoRotate = false
- local Model = Instance.new("Model", Character)
- Model.Name = "RagdollModel"
- local FakeHum = Instance.new("Humanoid", Model)
- FakeHum.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- if Shirt ~= nil then
- FakeShirt = Shirt:Clone()
- FakeShirt.Parent = Model
- end
- if Pants ~= nil then
- FakePants = Pants:Clone()
- FakePants.Parent = Model
- end
- if RightArm ~= nil then
- RightArm.Transparency = 1
- local FakeRightArm = Instance.new("Part", Model)
- FakeRightArm.Locked = true
- FakeRightArm.Name = "Right Arm"
- FakeRightArm.Size = Vector3.new(1, 2, 1)
- FakeRightArm.CFrame = RightArm.CFrame
- FakeRightArm.Color = BodyColors.RightArmColor3
- FakeRightArm.Velocity = RightArm.Velocity
- FakeRightArm.CanCollide = false
- Attachment1 = Instance.new("Attachment", FakeRightArm)
- Attachment1.Position = Vector3.new(0, 0.5, 0)
- if Torso ~= nil then
- Attachment2 = Instance.new("Attachment", Torso)
- Attachment2.Name = "FRHA"
- Attachment2.Position = Vector3.new(1.5, 0.5, 0)
- end
- local CollidePart = Instance.new("Part", FakeRightArm)
- CollidePart.Locked = true
- CollidePart.Transparency = 1
- CollidePart.Name = "CollidePart"
- CollidePart.Size = Vector3.new(1, 1, 1)
- local Weld = Instance.new("Weld", FakeRightArm)
- Weld.Name = "FRHW"
- Weld.Part0 = FakeRightArm
- Weld.Part1 = CollidePart
- Weld.C1 = CFrame.new(0, 0.5, 0)
- local Socket = Instance.new("BallSocketConstraint", FakeRightArm)
- Socket.Attachment0 = Attachment2
- Socket.Attachment1 = Attachment1
- end
- if LeftArm ~= nil then
- LeftArm.Transparency = 1
- local FakeLeftArm = Instance.new("Part", Model)
- FakeLeftArm.Locked = true
- FakeLeftArm.Name = "Left Arm"
- FakeLeftArm.Size = Vector3.new(1, 2, 1)
- FakeLeftArm.CFrame = LeftArm.CFrame
- FakeLeftArm.Color = BodyColors.LeftArmColor3
- FakeLeftArm.Velocity = LeftArm.Velocity
- FakeLeftArm.CanCollide = false
- Attachment3 = Instance.new("Attachment", FakeLeftArm)
- Attachment3.Position = Vector3.new(0, 0.5, 0)
- if Torso ~= nil then
- Attachment4 = Instance.new("Attachment", Torso)
- Attachment4.Name = "FLHA"
- Attachment4.Position = Vector3.new(-1.5, 0.5, 0)
- end
- local CollidePart = Instance.new("Part", FakeLeftArm)
- CollidePart.Locked = true
- CollidePart.Transparency = 1
- CollidePart.Name = "CollidePart"
- CollidePart.Size = Vector3.new(1, 1, 1)
- local Weld = Instance.new("Weld", FakeLeftArm)
- Weld.Name = "FLHA"
- Weld.Part0 = FakeLeftArm
- Weld.Part1 = CollidePart
- Weld.C1 = CFrame.new(0, 0.5, 0)
- local Socket = Instance.new("BallSocketConstraint", FakeLeftArm)
- Socket.Attachment0 = Attachment4
- Socket.Attachment1 = Attachment3
- end
- if RightLeg ~= nil then
- RightLeg.Transparency = 1
- local FakeRightLeg = Instance.new("Part", Model)
- FakeRightLeg.Locked = true
- FakeRightLeg.Name = "Right Leg"
- FakeRightLeg.Size = Vector3.new(1, 2, 1)
- FakeRightLeg.CFrame = RightLeg.CFrame
- FakeRightLeg.Color = BodyColors.LeftLegColor3
- FakeRightLeg.Velocity = RightLeg.Velocity
- FakeRightLeg.CanCollide = false
- Attachment5 = Instance.new("Attachment", FakeRightLeg)
- Attachment5.Position = Vector3.new(0, 1, 0)
- if Torso ~= nil then
- Attachment6 = Instance.new("Attachment", Torso)
- Attachment6.Name = "FRLA"
- Attachment6.Position = Vector3.new(0.5, -1, 0)
- end
- local CollidePart = Instance.new("Part", FakeRightLeg)
- CollidePart.Locked = true
- CollidePart.Transparency = 1
- CollidePart.Name = "CollidePart"
- CollidePart.Size = Vector3.new(1, 1.5, 1)
- local Weld = Instance.new("Weld", FakeRightLeg)
- Weld.Name = "FRLW"
- Weld.Part0 = FakeRightLeg
- Weld.Part1 = CollidePart
- Weld.C1 = CFrame.new(0, 0.2, 0)
- local Socket = Instance.new("BallSocketConstraint", FakeRightLeg)
- Socket.Attachment0 = Attachment6
- Socket.Attachment1 = Attachment5
- end
- if LeftLeg ~= nil then
- LeftLeg.Transparency = 1
- local FakeLeftLeg = Instance.new("Part", Model)
- FakeLeftLeg.Locked = true
- FakeLeftLeg.Name = "Left Leg"
- FakeLeftLeg.Size = Vector3.new(1, 2, 1)
- FakeLeftLeg.CFrame = LeftLeg.CFrame
- FakeLeftLeg.Color = BodyColors.LeftLegColor3
- FakeLeftLeg.Velocity = LeftLeg.Velocity
- FakeLeftLeg.CanCollide = false
- Attachment7 = Instance.new("Attachment", FakeLeftLeg)
- Attachment7.Position = Vector3.new(0, 1, 0)
- if Torso ~= nil then
- Attachment8 = Instance.new("Attachment", Torso)
- Attachment8.Name = "FLLA"
- Attachment8.Position = Vector3.new(-0.5, -1, 0)
- end
- local CollidePart = Instance.new("Part", FakeLeftLeg)
- CollidePart.Locked = true
- CollidePart.Transparency = 1
- CollidePart.Name = "CollidePart"
- CollidePart.Size = Vector3.new(1, 1.5, 1)
- local Weld = Instance.new("Weld", FakeLeftLeg)
- Weld.Name = "FLLW"
- Weld.Part0 = FakeLeftLeg
- Weld.Part1 = CollidePart
- Weld.C1 = CFrame.new(0, 0.2, 0)
- local Socket = Instance.new("BallSocketConstraint", FakeLeftLeg)
- Socket.Attachment0 = Attachment8
- Socket.Attachment1 = Attachment7
- end
- if Head ~= nil then
- Head.Transparency = 1
- local FakeHead = Instance.new("Part", Model)
- FakeHead.Locked = true
- FakeHead.Name = "Head"
- FakeHead.Size = Vector3.new(2, 1, 1)
- FakeHead.CFrame = Head.CFrame
- FakeHead.Color = BodyColors.HeadColor3
- FakeHead.Velocity = Head.Velocity
- FakeHead.CanCollide = false
- local MeshCheck = Head:FindFirstChild("Mesh")
- local FaceCheck = Head:FindFirstChild("face")
- if MeshCheck ~= nil then
- local Mesh = MeshCheck:Clone()
- Mesh.Parent = FakeHead
- end
- if FaceCheck ~= nil then
- local Face = FaceCheck:Clone()
- Face.Parent = FakeHead
- FaceCheck.Transparency = 1
- end
- Attachment9 = Instance.new("Attachment", FakeHead)
- Attachment9.Position = Vector3.new(0, -0.5, 0)
- if Torso ~= nil then
- Attachment10 = Instance.new("Attachment", Torso)
- Attachment10.Name = "FHA"
- Attachment10.Position = Vector3.new(0, 1, 0)
- end
- local CollidePart = Instance.new("Part", FakeHead)
- CollidePart.Locked = true
- CollidePart.Transparency = 1
- CollidePart.Name = "CollidePart"
- CollidePart.Size = Vector3.new(2, 0.75, 1)
- local NoCollide = Instance.new("NoCollisionConstraint", CollidePart)
- NoCollide.Part0 = CollidePart
- NoCollide.Part1 = Head
- local Weld = Instance.new("Weld", FakeHead)
- Weld.Name = "FHW"
- Weld.Part0 = FakeHead
- Weld.Part1 = CollidePart
- Weld.C1 = CFrame.new(0, -0.2, 0)
- local Socket = Instance.new("BallSocketConstraint", FakeHead)
- Socket.Attachment0 = Attachment10
- Socket.Attachment1 = Attachment9
- end
- for i, Things in pairs(Character:GetChildren()) do
- if Things:IsA("Accessory") or Things:IsA("Hat") then
- local Handle = Things:FindFirstChild("Handle")
- if Handle ~= nil then
- local Gamer = Things:Clone()
- Gamer.Parent = game.Workspace
- Handle.Transparency = 1
- FakeHum:AddAccessory(Gamer)
- end
- end
- end
- end
- if TRUEORFALSE == "TEEHEEFLAMINGOFLIPFLOPGAMER" then
- local Character = Player.Character or Player.CharacterAdded:Wait()
- local Humanoid = Character:WaitForChild("Humanoid")
- local Torso = Character:FindFirstChild("Torso")
- local Model = Character:FindFirstChild("RagdollModel")
- local RightArm = Character:FindFirstChild("Right Arm")
- local LeftArm = Character:FindFirstChild("Left Arm")
- local RightLeg = Character:FindFirstChild("Right Leg")
- local LeftLeg = Character:FindFirstChild("Left Leg")
- local Head = Character:FindFirstChild("Head")
- local FRHA
- local FLHA
- local FRLA
- local FLLA
- if Torso ~= nil then
- FRHA = Torso:FindFirstChild("FRHA")
- FLHA = Torso:FindFirstChild("FLHA")
- FRLA = Torso:FindFirstChild("FRLA")
- FLLA = Torso:FindFirstChild("FLLA")
- if FRHA ~= nil then
- FRHA:Destroy()
- end
- if FLHA ~= nil then
- FLHA:Destroy()
- end
- if FRLA ~= nil then
- FRLA:Destroy()
- end
- if FLLA ~= nil then
- FLLA:Destroy()
- end
- end
- if RightArm ~= nil then
- RightArm.Transparency = 0
- end
- if LeftArm ~= nil then
- LeftArm.Transparency = 0
- end
- if RightLeg ~= nil then
- RightLeg.Transparency = 0
- end
- if LeftLeg ~= nil then
- LeftLeg.Transparency = 0
- end
- if Head ~= nil then
- Head.Transparency = 0
- local FaceCheck = Head:FindFirstChild("face")
- if FaceCheck ~= nil then
- FaceCheck.Transparency = 0
- end
- end
- for i, Things in pairs(Character:GetChildren()) do
- if Things:IsA("Accessory") or Things:IsA("Hat") then
- local Handle = Things:FindFirstChild("Handle")
- if Handle ~= nil then
- Handle.Transparency = 0
- end
- end
- end
- Humanoid.PlatformStand = false
- Humanoid.AutoRotate = true
- if Model ~= nil then
- Model:Destroy()
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment