Advertisement
Ninja_Camper

Untitled

Dec 31st, 2017
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 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://"
  12. sound.Volume = 100
  13. sound:Play()
  14. sound.Looped = true
  15. plr.Chatted:connect(function(message)
  16. if message:sub(1,4) == "/e 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.  
  23.  
  24.  
  25.  
  26. ---- [[ Left Eye]] ----
  27.  
  28. eye1 = Instance.new("Part", workspace)
  29. eye1.Anchored = false
  30. eye1.Parent = head
  31. eye1.TopSurface = 0
  32. eye1.BrickColor = BrickColor.new("Red")
  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. ---- [[ Right Eye ]] ----
  46.  
  47.  
  48. eye2 = Instance.new("Part", workspace)
  49. eye2.Anchored = false
  50. eye2.Parent = head
  51. eye2.TopSurface = 0
  52. eye2.BrickColor = BrickColor.new("Teal")
  53. eye2.BottomSurface = 0
  54. eye2m = Instance.new("SpecialMesh", eye2)
  55. eye2m.MeshType = Enum.MeshType.Sphere
  56. eye2m.Scale = Vector3.new(0.02,0.12,0.03)
  57. ogsize = eye2m.Scale
  58. weld = Instance.new("Weld", head)
  59. weld.Part0 = eye2
  60. weld.Part1 = head
  61. weld.C1 = CFrame.new(.17,.14,-.57)
  62.  
  63.  
  64.  
  65. ---- [[ Mouth ]] ----
  66.  
  67. mouth = Instance.new("Part", workspace)
  68. mouth.Anchored = false
  69. mouth.Parent = head
  70. mouth.TopSurface = 0
  71. mouth.BrickColor = BrickColor.new("Blue")
  72. mouth.BottomSurface = 0
  73. mouth.Material = "SmoothPlastic"
  74. mouthm = Instance.new("SpecialMesh", mouth)
  75. mouthm.MeshType = Enum.MeshType.Sphere
  76. mouthm.Scale = Vector3.new(.13,0.1,0.05)
  77. ogsize = mouthm.Scale
  78. weld = Instance.new("Weld", head)
  79. weld.Part0 = mouth
  80. weld.Part1 = head
  81. weld.C1 = CFrame.new(0,-.25,-.6)
  82. game:service'RunService'.RenderStepped:connect(function()
  83. mouthm.Scale = mouthm.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/20000,sound.PlaybackLoudness/1000,ogsize.Z),0.8)
  84. 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)
  85. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement