Advertisement
FiveRoNer

Untitled

Jul 10th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. mask.Size = Vector3.new(.5, .5, .5)
  2. local mesh = Instance.new("SpecialMesh", mask)
  3. mesh.MeshId = "rbxassetid://13520257"
  4. mesh.TextureId = "rbxassetid://149756906"
  5. local weldpart = Instance.new("Weld", mask)
  6. weldpart.Part0 = mask
  7. weldpart.Part1 = dir["Right Arm"]
  8. weldpart.C0 = CFrame.new(0, .48, 0) *CFrame.Angles(0, math.rad(25), 0)
  9. weld = Instance.new("Weld", dir.Torso)
  10. weld.Part0 = dir.Torso["Right Shoulder"].Part0
  11. weld.Part1 = dir.Torso["Right Shoulder"].Part1
  12. weld.Name = dir.Torso["Right Shoulder"].Name
  13. weld.C0 = dir.Torso["Right Shoulder"].C0
  14. weld.C1 = dir.Torso["Right Shoulder"].C1
  15. table.insert(store, dir.Torso["Right Shoulder"])
  16. dir.Torso["Right Shoulder"]:Remove()
  17. print(dir.Torso["Right Shoulder"].C0)
  18. for i = 0, 1, .1 do
  19. wait()
  20. weld.C0 = lerp(weld.C0, CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) *CFrame.Angles(math.rad(-10), math.rad(85), math.rad(-195)), i)
  21. end
  22. mask2 = Instance.new("Part", dir)
  23. mask2.Anchored = false
  24. mask2.CanCollide = false
  25. mask2.Size = Vector3.new(.5, .5, .5)
  26. local mesh = Instance.new("SpecialMesh", mask2)
  27. mesh.MeshId = "rbxassetid://13520257"
  28. mesh.TextureId = "rbxassetid://149756906"
  29. local weldparts = Instance.new("Weld", mask2)
  30. weldparts.Part0 = mask2
  31. weldparts.Part1 = dir["Head"]
  32. weldparts.C0 = CFrame.new(0, 0, 0.54)
  33. mask.Transparency = 1
  34. for i = 0, 1, .1 do
  35. wait()
  36. weld.C0 = lerp(weld.C0, store[1].C0, .1)
  37. end
  38. mask:Remove()
  39. store[1].Parent = weld.Parent
  40. weld:Remove()
  41. store = {}
  42. bgui2 = Instance.new("BillboardGui", mask2)
  43. bgui2.Active = false
  44. bgui2.AlwaysOnTop = true
  45. bgui2.Enabled = true
  46. bgui2.MaxDistance = 100
  47. bgui2.Size = UDim2.new(0.5, 0, 0.5, 0)
  48. bgui2.SizeOffset = Vector2.new(-20, 5)
  49. bgui2.Name = "FrameHolder"
  50. bgui2.Adornee = dir.Head
  51. frame2 = Instance.new("Frame", bgui2)
  52. frame2.Active = false
  53. frame2.BackgroundTransparency = 1
  54. frame2.Size = UDim2.new(42, 0, 4, 0)
  55. frame2.Name = "Frame"
  56. text2 = Instance.new("TextLabel", frame2)
  57. text2.Active = false
  58. text2.BackgroundTransparency = 1
  59. text2.Size = UDim2.new(1, 0, 1, 0)
  60. text2.Visible = true
  61. text2.Font = "Antique"
  62. text2.TextScaled = true
  63. text2.TextSize = 14
  64. text2.TextColor3 = Color3.new(255/255, 0/255, 0/255)
  65. text2.TextTransparency = 0.5
  66. text2.Text = ""
  67. tool.Parent = nil
  68. cam.CameraSubject = dir.Humanoid
  69. dir.Humanoid.MaxHealth = math.huge
  70. char.Parent = workspace
  71. for i, v in pairs(char:GetChildren()) do
  72. if v:IsA("Part") or v:IsA("MeshPart") then
  73. v.Transparency = 1
  74. end
  75. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement