Advertisement
vL4d_4eVer

R15 Rigs to R6

Sep 11th, 2018
1,197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.91 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then return error("ServerSide only") end
  2. local plr = owner
  3. local char = plr.Character
  4. if char:FindFirstChild("Torso") ~= nil then
  5.     return error("Use R15, dummy")
  6. end
  7. local shirt = char:FindFirstChildOfClass("Shirt")
  8. local pants = char:FindFirstChildOfClass("Pants")
  9. local mod = Instance.new("Model",char) mod.Name = "Rigs"
  10. local hum = Instance.new("Humanoid",mod) hum.PlatformStand = true
  11. local to = Instance.new("Part",mod) to.CFrame = char.Head.CFrame to.Name = "Torso" to.Color = char.UpperTorso.Color
  12. local ra = Instance.new("Part",mod) ra.CFrame = char.Head.CFrame ra.Name = "Right Arm" ra.Color = char.RightHand.Color
  13. local la = Instance.new("Part",mod) la.CFrame = char.Head.CFrame la.Name = "Left Arm" la.Color = char.LeftHand.Color
  14. local rl = Instance.new("Part",mod) rl.CFrame = char.Head.CFrame rl.Name = "Right Leg" rl.Color = char.RightFoot.Color
  15. local ll = Instance.new("Part",mod) ll.CFrame = char.Head.CFrame ll.Name = "Left Leg" ll.Color = char.LeftFoot.Color
  16. shirt:Clone().Parent = mod pants:Clone().Parent = mod
  17. for i,v in pairs(char:GetChildren()) do
  18.     if v:IsA("MeshPart") then
  19.         v.Transparency = 1
  20.     end
  21. end
  22. to.Size = Vector3.new(2,2,1)
  23. ra.Size = Vector3.new(1,2,1)
  24. la.Size = Vector3.new(1,2,1)
  25. rl.Size = Vector3.new(1,2,1)
  26. ll.Size = Vector3.new(1,2,1)
  27. local tow = Instance.new("Weld",to) tow.C0 = CFrame.new(0,.22,0) tow.Part0 = to tow.Part1 = char.UpperTorso
  28. local raw = Instance.new("Weld",to) raw.C0 = CFrame.new(0,-.22,0) raw.Part0 = ra raw.Part1 = char.RightLowerArm
  29. local law = Instance.new("Weld",to) law.C0 = CFrame.new(0,-.22,0) law.Part0 = la law.Part1 = char.LeftLowerArm
  30. local rlw = Instance.new("Weld",to) rlw.C0 = CFrame.new(0,-.2,0) rlw.Part0 = rl rlw.Part1 = char.RightLowerLeg
  31. local llw = Instance.new("Weld",to) llw.C0 = CFrame.new(0,-.2,0) llw.Part0 = ll llw.Part1 = char.LeftLowerLeg
  32. while true do
  33. hum.PlatformStand = true
  34. wait(.2)
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement