Advertisement
Guest User

Untitled

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