Guest User

Bruh

a guest
Jul 26th, 2019
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.04 KB | None | 0 0
  1. local Event = game.ReplicatedStorage:WaitForChild("Ragdoll")
  2.  
  3. Event.OnServerEvent:Connect(function(Player, TRUEORFALSE)
  4. if TRUEORFALSE == "THANOSAAAHHHSCARYYYYYYYYYY" then
  5. local Character = Player.Character or Player.CharacterAdded:Wait()
  6. local Humanoid = Character:WaitForChild("Humanoid")
  7. local Shirt = Character:FindFirstChild("Shirt")
  8. local Pants = Character:FindFirstChild("Pants")
  9. local BodyColors = Character:FindFirstChild("Body Colors")
  10. local RightArm = Character:FindFirstChild("Right Arm")
  11. local LeftArm = Character:FindFirstChild("Left Arm")
  12. local Torso = Character:FindFirstChild("Torso")
  13. local RightLeg = Character:FindFirstChild("Right Leg")
  14. local LeftLeg = Character:FindFirstChild("Left Leg")
  15. local Head = Character:FindFirstChild("Head")
  16. local FakeShirt
  17. local FakePants
  18. local Attachment1
  19. local Attachment2
  20. local Attachment3
  21. local Attachment4
  22. local Attachment5
  23. local Attachment6
  24. local Attachment7
  25. local Attachment8
  26. local Attachment9
  27. local Attachment10
  28.  
  29. Humanoid.PlatformStand = true
  30. Humanoid.AutoRotate = false
  31.  
  32. local Model = Instance.new("Model", Character)
  33. Model.Name = "RagdollModel"
  34.  
  35. local FakeHum = Instance.new("Humanoid", Model)
  36. FakeHum.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  37.  
  38. if Shirt ~= nil then
  39. FakeShirt = Shirt:Clone()
  40. FakeShirt.Parent = Model
  41. end
  42.  
  43. if Pants ~= nil then
  44. FakePants = Pants:Clone()
  45. FakePants.Parent = Model
  46. end
  47.  
  48. if RightArm ~= nil then
  49. RightArm.Transparency = 1
  50.  
  51. local FakeRightArm = Instance.new("Part", Model)
  52. FakeRightArm.Locked = true
  53. FakeRightArm.Name = "Right Arm"
  54. FakeRightArm.Size = Vector3.new(1, 2, 1)
  55. FakeRightArm.CFrame = RightArm.CFrame
  56. FakeRightArm.Color = BodyColors.RightArmColor3
  57. FakeRightArm.Velocity = RightArm.Velocity
  58. FakeRightArm.CanCollide = false
  59.  
  60. Attachment1 = Instance.new("Attachment", FakeRightArm)
  61. Attachment1.Position = Vector3.new(0, 0.5, 0)
  62.  
  63. if Torso ~= nil then
  64. Attachment2 = Instance.new("Attachment", Torso)
  65. Attachment2.Name = "FRHA"
  66. Attachment2.Position = Vector3.new(1.5, 0.5, 0)
  67. end
  68.  
  69. local CollidePart = Instance.new("Part", FakeRightArm)
  70. CollidePart.Locked = true
  71. CollidePart.Transparency = 1
  72. CollidePart.Name = "CollidePart"
  73. CollidePart.Size = Vector3.new(1, 1, 1)
  74.  
  75. local Weld = Instance.new("Weld", FakeRightArm)
  76. Weld.Name = "FRHW"
  77. Weld.Part0 = FakeRightArm
  78. Weld.Part1 = CollidePart
  79. Weld.C1 = CFrame.new(0, 0.5, 0)
  80.  
  81. local Socket = Instance.new("BallSocketConstraint", FakeRightArm)
  82. Socket.Attachment0 = Attachment2
  83. Socket.Attachment1 = Attachment1
  84. end
  85.  
  86. if LeftArm ~= nil then
  87. LeftArm.Transparency = 1
  88.  
  89. local FakeLeftArm = Instance.new("Part", Model)
  90. FakeLeftArm.Locked = true
  91. FakeLeftArm.Name = "Left Arm"
  92. FakeLeftArm.Size = Vector3.new(1, 2, 1)
  93. FakeLeftArm.CFrame = LeftArm.CFrame
  94. FakeLeftArm.Color = BodyColors.LeftArmColor3
  95. FakeLeftArm.Velocity = LeftArm.Velocity
  96. FakeLeftArm.CanCollide = false
  97.  
  98. Attachment3 = Instance.new("Attachment", FakeLeftArm)
  99. Attachment3.Position = Vector3.new(0, 0.5, 0)
  100.  
  101. if Torso ~= nil then
  102. Attachment4 = Instance.new("Attachment", Torso)
  103. Attachment4.Name = "FLHA"
  104. Attachment4.Position = Vector3.new(-1.5, 0.5, 0)
  105. end
  106.  
  107. local CollidePart = Instance.new("Part", FakeLeftArm)
  108. CollidePart.Locked = true
  109. CollidePart.Transparency = 1
  110. CollidePart.Name = "CollidePart"
  111. CollidePart.Size = Vector3.new(1, 1, 1)
  112.  
  113. local Weld = Instance.new("Weld", FakeLeftArm)
  114. Weld.Name = "FLHA"
  115. Weld.Part0 = FakeLeftArm
  116. Weld.Part1 = CollidePart
  117. Weld.C1 = CFrame.new(0, 0.5, 0)
  118.  
  119. local Socket = Instance.new("BallSocketConstraint", FakeLeftArm)
  120. Socket.Attachment0 = Attachment4
  121. Socket.Attachment1 = Attachment3
  122. end
  123.  
  124. if RightLeg ~= nil then
  125. RightLeg.Transparency = 1
  126.  
  127. local FakeRightLeg = Instance.new("Part", Model)
  128. FakeRightLeg.Locked = true
  129. FakeRightLeg.Name = "Right Leg"
  130. FakeRightLeg.Size = Vector3.new(1, 2, 1)
  131. FakeRightLeg.CFrame = RightLeg.CFrame
  132. FakeRightLeg.Color = BodyColors.LeftLegColor3
  133. FakeRightLeg.Velocity = RightLeg.Velocity
  134. FakeRightLeg.CanCollide = false
  135.  
  136. Attachment5 = Instance.new("Attachment", FakeRightLeg)
  137. Attachment5.Position = Vector3.new(0, 1, 0)
  138.  
  139. if Torso ~= nil then
  140. Attachment6 = Instance.new("Attachment", Torso)
  141. Attachment6.Name = "FRLA"
  142. Attachment6.Position = Vector3.new(0.5, -1, 0)
  143. end
  144.  
  145. local CollidePart = Instance.new("Part", FakeRightLeg)
  146. CollidePart.Locked = true
  147. CollidePart.Transparency = 1
  148. CollidePart.Name = "CollidePart"
  149. CollidePart.Size = Vector3.new(1, 1.5, 1)
  150.  
  151. local Weld = Instance.new("Weld", FakeRightLeg)
  152. Weld.Name = "FRLW"
  153. Weld.Part0 = FakeRightLeg
  154. Weld.Part1 = CollidePart
  155. Weld.C1 = CFrame.new(0, 0.2, 0)
  156.  
  157. local Socket = Instance.new("BallSocketConstraint", FakeRightLeg)
  158. Socket.Attachment0 = Attachment6
  159. Socket.Attachment1 = Attachment5
  160. end
  161.  
  162. if LeftLeg ~= nil then
  163. LeftLeg.Transparency = 1
  164.  
  165. local FakeLeftLeg = Instance.new("Part", Model)
  166. FakeLeftLeg.Locked = true
  167. FakeLeftLeg.Name = "Left Leg"
  168. FakeLeftLeg.Size = Vector3.new(1, 2, 1)
  169. FakeLeftLeg.CFrame = LeftLeg.CFrame
  170. FakeLeftLeg.Color = BodyColors.LeftLegColor3
  171. FakeLeftLeg.Velocity = LeftLeg.Velocity
  172. FakeLeftLeg.CanCollide = false
  173.  
  174. Attachment7 = Instance.new("Attachment", FakeLeftLeg)
  175. Attachment7.Position = Vector3.new(0, 1, 0)
  176.  
  177. if Torso ~= nil then
  178. Attachment8 = Instance.new("Attachment", Torso)
  179. Attachment8.Name = "FLLA"
  180. Attachment8.Position = Vector3.new(-0.5, -1, 0)
  181. end
  182.  
  183. local CollidePart = Instance.new("Part", FakeLeftLeg)
  184. CollidePart.Locked = true
  185. CollidePart.Transparency = 1
  186. CollidePart.Name = "CollidePart"
  187. CollidePart.Size = Vector3.new(1, 1.5, 1)
  188.  
  189. local Weld = Instance.new("Weld", FakeLeftLeg)
  190. Weld.Name = "FLLW"
  191. Weld.Part0 = FakeLeftLeg
  192. Weld.Part1 = CollidePart
  193. Weld.C1 = CFrame.new(0, 0.2, 0)
  194.  
  195. local Socket = Instance.new("BallSocketConstraint", FakeLeftLeg)
  196. Socket.Attachment0 = Attachment8
  197. Socket.Attachment1 = Attachment7
  198. end
  199.  
  200. if Head ~= nil then
  201. Head.Transparency = 1
  202.  
  203. local FakeHead = Instance.new("Part", Model)
  204. FakeHead.Locked = true
  205. FakeHead.Name = "Head"
  206. FakeHead.Size = Vector3.new(2, 1, 1)
  207. FakeHead.CFrame = Head.CFrame
  208. FakeHead.Color = BodyColors.HeadColor3
  209. FakeHead.Velocity = Head.Velocity
  210. FakeHead.CanCollide = false
  211.  
  212. local MeshCheck = Head:FindFirstChild("Mesh")
  213. local FaceCheck = Head:FindFirstChild("face")
  214.  
  215. if MeshCheck ~= nil then
  216. local Mesh = MeshCheck:Clone()
  217. Mesh.Parent = FakeHead
  218. end
  219.  
  220. if FaceCheck ~= nil then
  221. local Face = FaceCheck:Clone()
  222. Face.Parent = FakeHead
  223. FaceCheck.Transparency = 1
  224. end
  225.  
  226. Attachment9 = Instance.new("Attachment", FakeHead)
  227. Attachment9.Position = Vector3.new(0, -0.5, 0)
  228.  
  229. if Torso ~= nil then
  230. Attachment10 = Instance.new("Attachment", Torso)
  231. Attachment10.Name = "FHA"
  232. Attachment10.Position = Vector3.new(0, 1, 0)
  233. end
  234.  
  235. local CollidePart = Instance.new("Part", FakeHead)
  236. CollidePart.Locked = true
  237. CollidePart.Transparency = 1
  238. CollidePart.Name = "CollidePart"
  239. CollidePart.Size = Vector3.new(2, 0.75, 1)
  240.  
  241. local NoCollide = Instance.new("NoCollisionConstraint", CollidePart)
  242. NoCollide.Part0 = CollidePart
  243. NoCollide.Part1 = Head
  244.  
  245. local Weld = Instance.new("Weld", FakeHead)
  246. Weld.Name = "FHW"
  247. Weld.Part0 = FakeHead
  248. Weld.Part1 = CollidePart
  249. Weld.C1 = CFrame.new(0, -0.2, 0)
  250.  
  251. local Socket = Instance.new("BallSocketConstraint", FakeHead)
  252. Socket.Attachment0 = Attachment10
  253. Socket.Attachment1 = Attachment9
  254. end
  255.  
  256. for i, Things in pairs(Character:GetChildren()) do
  257. if Things:IsA("Accessory") or Things:IsA("Hat") then
  258. local Handle = Things:FindFirstChild("Handle")
  259. if Handle ~= nil then
  260. local Gamer = Things:Clone()
  261. Gamer.Parent = game.Workspace
  262. Handle.Transparency = 1
  263. FakeHum:AddAccessory(Gamer)
  264. end
  265. end
  266. end
  267. end
  268.  
  269. if TRUEORFALSE == "TEEHEEFLAMINGOFLIPFLOPGAMER" then
  270. local Character = Player.Character or Player.CharacterAdded:Wait()
  271. local Humanoid = Character:WaitForChild("Humanoid")
  272. local Torso = Character:FindFirstChild("Torso")
  273. local Model = Character:FindFirstChild("RagdollModel")
  274. local RightArm = Character:FindFirstChild("Right Arm")
  275. local LeftArm = Character:FindFirstChild("Left Arm")
  276. local RightLeg = Character:FindFirstChild("Right Leg")
  277. local LeftLeg = Character:FindFirstChild("Left Leg")
  278. local Head = Character:FindFirstChild("Head")
  279. local FRHA
  280. local FLHA
  281. local FRLA
  282. local FLLA
  283.  
  284. if Torso ~= nil then
  285. FRHA = Torso:FindFirstChild("FRHA")
  286. FLHA = Torso:FindFirstChild("FLHA")
  287. FRLA = Torso:FindFirstChild("FRLA")
  288. FLLA = Torso:FindFirstChild("FLLA")
  289. if FRHA ~= nil then
  290. FRHA:Destroy()
  291. end
  292. if FLHA ~= nil then
  293. FLHA:Destroy()
  294. end
  295. if FRLA ~= nil then
  296. FRLA:Destroy()
  297. end
  298. if FLLA ~= nil then
  299. FLLA:Destroy()
  300. end
  301. end
  302.  
  303. if RightArm ~= nil then
  304. RightArm.Transparency = 0
  305. end
  306.  
  307. if LeftArm ~= nil then
  308. LeftArm.Transparency = 0
  309. end
  310.  
  311. if RightLeg ~= nil then
  312. RightLeg.Transparency = 0
  313. end
  314.  
  315. if LeftLeg ~= nil then
  316. LeftLeg.Transparency = 0
  317. end
  318.  
  319. if Head ~= nil then
  320. Head.Transparency = 0
  321. local FaceCheck = Head:FindFirstChild("face")
  322. if FaceCheck ~= nil then
  323. FaceCheck.Transparency = 0
  324. end
  325. end
  326.  
  327. for i, Things in pairs(Character:GetChildren()) do
  328. if Things:IsA("Accessory") or Things:IsA("Hat") then
  329. local Handle = Things:FindFirstChild("Handle")
  330. if Handle ~= nil then
  331. Handle.Transparency = 0
  332. end
  333. end
  334. end
  335.  
  336. Humanoid.PlatformStand = false
  337. Humanoid.AutoRotate = true
  338.  
  339. if Model ~= nil then
  340. Model:Destroy()
  341. end
  342. end
  343. end)
Advertisement
Add Comment
Please, Sign In to add comment