Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1.  
  2.  
  3.  
  4. pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
  5. local plr = game.Players.LocalPlayer
  6. repeat wait() until plr.Character
  7. plr = game.Players.LocalPlayer
  8. char = plr.Character
  9. torso = char.Torso
  10. head = char.Head
  11. neck = torso.Neck
  12. head.face:Destroy()
  13. sound = Instance.new("Sound", head)
  14. sound.SoundId = "play one yourself :D"
  15. sound.Volume = 0.5
  16. sound:Play()
  17. sound.Looped = true
  18. plr.Chatted:connect(function(message)
  19. if message:sub(1,4) == "Play" then
  20. sound:Stop()
  21. sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6)
  22. sound:Play()
  23. end
  24. end)
  25.  
  26.  
  27.  
  28. eye1 = Instance.new("Part", workspace)
  29. eye1.Anchored = false
  30. eye1.Parent = head
  31. eye1.TopSurface = 0
  32. eye1.BrickColor = BrickColor.new("Really black")
  33. eye1.BottomSurface = 0
  34. eye1m = Instance.new("SpecialMesh", eye1)
  35. eye1m.MeshType = Enum.MeshType.Sphere
  36. eye1m.Scale = Vector3.new(0.02,0.12,0.03)
  37. ogsize = eye1m.Scale
  38. weld = Instance.new("Weld", head)
  39. weld.Part0 = eye1
  40. weld.Part1 = head
  41. weld.C1 = CFrame.new(-.17,.14,-.57)
  42.  
  43.  
  44.  
  45. eye2 = Instance.new("Part", workspace)
  46. eye2.Anchored = false
  47. eye2.Parent = head
  48. eye2.TopSurface = 0
  49. eye2.BrickColor = BrickColor.new("Really black")
  50. eye2.BottomSurface = 0
  51. eye2m = Instance.new("SpecialMesh", eye2)
  52. eye2m.MeshType = Enum.MeshType.Sphere
  53. eye2m.Scale = Vector3.new(0.02,0.12,0.03)
  54. ogsize = eye2m.Scale
  55. weld = Instance.new("Weld", head)
  56. weld.Part0 = eye2
  57. weld.Part1 = head
  58. weld.C1 = CFrame.new(.17,.14,-.57)
  59.  
  60.  
  61.  
  62. mouth = Instance.new("Part", workspace)
  63. mouth.Anchored = false
  64. mouth.Parent = head
  65. mouth.TopSurface = 0
  66. mouth.BrickColor = BrickColor.new("Really red")
  67. mouth.BottomSurface = 0
  68. mouth.Material = "SmoothPlastic"
  69. mouthm = Instance.new("SpecialMesh", mouth)
  70. mouthm.MeshType = Enum.MeshType.Sphere
  71. mouthm.Scale = Vector3.new(.10,.5,0.05)
  72. ogsize = mouthm.Scale
  73. weld = Instance.new("Weld", head)
  74. weld.Part0 = mouth
  75. weld.Part1 = head
  76. weld.C1 = CFrame.new(0,-.25,-.6)
  77. game:service'RunService'.RenderStepped:connect(function()
  78. mouthm.Scale = mouthm.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/20000,sound.PlaybackLoudness/1000,ogsize.Z),0.8)
  79. neck.C0 = neck.C0:lerp(CFrame.new(0,1,0)*CFrame.Angles(math.rad(mouthm.Scale.Y*100) +math.rad(-90),0,math.rad(180)),0.1)
  80. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement