Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. do -- Setup
  2. print("Loading long neck script by Joji1000...")
  3. Player = game.players.localplayer
  4. Character = Player.Character
  5. Create = function(DataList)
  6. local Item = Instance.new(DataList[1])
  7. for Name,Data in pairs(DataList) do
  8. if Name~=1 then
  9. Item[Name] = Data
  10. end
  11. end
  12. return Item
  13. end
  14. end
  15. do -- Sequence
  16. Character.Torso.Neck:Destroy()
  17. BottomHeadAttachment = Create{
  18. "Attachment",
  19. ["Parent"]= Character.Head,
  20. ["Name"] = "BottomHeadAttachment",
  21. ["Position"] = Vector3.new(0,-0.6,0)
  22. }
  23. NewNeck = Create{
  24. "RodConstraint",
  25. ["Parent"] = Character.Head,
  26. ["Attachment0"] = Character.Torso.NeckAttachment,
  27. ["Attachment1"] = BottomHeadAttachment,
  28. ["Visible"] = true,
  29. ["Name"] = "Neck",
  30. ["Color"] = BrickColor.new(Character:WaitForChild("Body Colors").HeadColor3),
  31. ["Thickness"] = 1
  32. }
  33. Trail = Create{
  34. "Trail",
  35. ["Parent"] = BottomHeadAttachment,
  36. ["Attachment0"] = Character.Torso.NeckAttachment,
  37. ["Attachment1"] = BottomHeadAttachment,
  38. ["Color"] = ColorSequence.new(Character:WaitForChild("Body Colors").HeadColor3),
  39. ["Lifetime"] = .1,
  40. ["Transparency"] = NumberSequence.new(0.5,1)
  41. }
  42. BodyForce = Create{
  43. "BodyForce",
  44. ["Parent"] = Character.Head,
  45. ["force"] = Vector3.new(0,game.Workspace.Gravity*2,0)*Player.Character.Head:GetMass()
  46. }
  47. print("Enjoy your new neck!")
  48. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement