Advertisement
FiveRoNer

Untitled

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