Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
  2. char = plr.Character
  3. torso = char.Torso
  4. head = char.Head
  5. neck = torso.Neck
  6. head.face:Destroy()
  7. sound = Instance.new("Sound", head)
  8. sound.SoundId = "rbxassetid://2953054310"
  9. sound.Volume = 100
  10. sound:Play()
  11. sound.Looped = true
  12. plr.Chatted:connect(function(message)
  13. if message:sub(1,4) == "Play" then
  14. sound:Stop()
  15. sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6)
  16. sound:Play()
  17. end
  18. end)
  19.  
  20.  
  21.  
  22.  
  23. ---- [[ Left Eye]] ----
  24.  
  25. eye1 = Instance.new("Part", workspace)
  26. eye1.Anchored = false
  27. eye1.Parent = head
  28. eye1.TopSurface = 0
  29. eye1.BrickColor = BrickColor.new("Black")
  30. eye1.BottomSurface = 0
  31. eye1m = Instance.new("SpecialMesh", eye1)
  32. eye1m.MeshType = Enum.MeshType.Sphere
  33. eye1m.Scale = Vector3.new(0.02,0.17,0.03)
  34. ogsize = eye1m.Scale
  35. weld = Instance.new("Weld", head)
  36. weld.Part0 = eye1
  37. weld.Part1 = head
  38. weld.C1 = CFrame.new(-.17,.14,-.57)
  39.  
  40.  
  41.  
  42. ---- [[ Right Eye ]] ----
  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("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.17,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 ]] ----
  63.  
  64. mouth = Instance.new("Part", workspace)
  65. mouth.Anchored = false
  66. mouth.Parent = head
  67. mouth.TopSurface = 0
  68. mouth.BrickColor = BrickColor.new("Black")
  69. mouth.BottomSurface = 0
  70. mouth.Material = "SmoothPlastic"
  71. mouthm = Instance.new("SpecialMesh", mouth)
  72. mouthm.MeshType = Enum.MeshType.Sphere
  73. mouthm.Scale = Vector3.new(.18,0.1,0.05)
  74. ogsize = mouthm.Scale
  75. weld = Instance.new("Weld", head)
  76. weld.Part0 = mouth
  77. weld.Part1 = head
  78. weld.C1 = CFrame.new(0,-.25,-.6)
  79. game:service'RunService'.RenderStepped:connect(function()
  80. mouthm.Scale = mouthm.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/10000,sound.PlaybackLoudness/75,ogsize.Z),0.8)
  81. 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)
  82. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement