lolita5432

DO U KNOW THE WAY

Jan 20th, 2018
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. --[[
  2.  
  3. Created by Sharkringan kthx
  4.  
  5. --]]
  6.  
  7. wait(1/60)
  8.  
  9. plr = game:service'Players'.LocalPlayer
  10. char = plr.Character
  11. root = char:FindFirstChild'HumanoidRootPart'
  12. hum = char:FindFirstChildOfClass'Humanoid'
  13. mouse = plr:GetMouse()
  14. clones = {}
  15.  
  16. if char.Head:FindFirstChild'face' then
  17. char.Head.face:Destroy()
  18. end
  19.  
  20. for _, a in pairs(char:children()) do
  21. if a:IsA'Part' then
  22. a.Transparency = 1
  23. elseif a:IsA'Accessory' then
  24. a:Destroy()
  25. end
  26. end
  27.  
  28. eyes = Instance.new('Part', char)
  29. eyes.Anchored = false
  30. eyes.Name = "Eyes"
  31. eyes.Size = Vector3.new(0.22, 0.052, 0.105)
  32. eyesm = Instance.new('SpecialMesh', eyes)
  33. eyesm.Scale = Vector3.new(0.039, 0.039, 0.039)
  34. eyesm.MeshId = "rbxassetid://1300138314"
  35. eyesm.TextureId = "rbxassetid://1300129774"
  36.  
  37. body = Instance.new('Part', char)
  38. body.Anchored = false
  39. body.Name = "Body"
  40. body.Size = Vector3.new(0.07, 0.062, 0.078)
  41. bodym = Instance.new('SpecialMesh', body)
  42. bodym.Scale = Vector3.new(0.039, 0.039, 0.039)
  43. bodym.MeshId = "rbxassetid://1300136843"
  44. bodym.TextureId = "rbxassetid://1300137893"
  45.  
  46. weld1 = Instance.new('Weld', eyes)
  47. weld1.Part0 = eyes
  48. weld1.Part1 = root
  49. weld1.C0 = CFrame.new(0,1.55,.2)
  50. weld2 = Instance.new('Weld', body)
  51. weld2.Part0 = body
  52. weld2.Part1 = root
  53. weld2.C0 = CFrame.new(0,2.1,0)
  54.  
  55. TheWay1 = Instance.new('Sound', body)
  56. TheWay1.SoundId = "rbxassetid://1320393438"
  57. TheWay1.Volume = 3
  58. TheWay1.Name = "TheWay1"
  59. TheWay2 = Instance.new('Sound', body)
  60. TheWay2.SoundId = "rbxassetid://1295525558"
  61. TheWay2.Volume = 3
  62. TheWay2.Name = "TheWay2"
  63. Spit = Instance.new('Sound', body)
  64. Spit.SoundId = "rbxassetid://1322795266"
  65. Spit.Volume = 3
  66. Spit.Name = "Spit"
  67. Click = Instance.new('Sound', body)
  68. Click.SoundId = "rbxassetid://1335379417"
  69. Click.Volume = 3
  70.  
  71. num = 1
  72. cooldown = false
  73. rand = math.random(1,2)
  74.  
  75. for i = 1,12 do
  76. wait()
  77. char.Archivable = true
  78. clone = char:Clone()
  79. table.insert(clones,clone)
  80. end
  81.  
  82. for _, a in pairs(clones) do
  83. a.Parent = char
  84. a:MoveTo(root.Position + Vector3.new(math.random(1,10),math.random(1,10),math.random(1,10)))
  85. end
  86.  
  87. function sfx1()
  88. for _, a in pairs(clones) do
  89. rand = math.random(1,2)
  90. if rand == 1 then
  91. a.Body['TheWay1'].Pitch = math.random(0.8,1.05)
  92. a.Body['TheWay1']:Play()
  93. elseif rand == 2 then
  94. a.Body['TheWay2'].Pitch = math.random(0.8,1.05)
  95. a.Body['TheWay2']:Play()
  96. end
  97. wait(.3)
  98. end
  99. end
  100.  
  101. function sfx2()
  102. for _, a in pairs(clones) do
  103. a.Body.Spit.Pitch = math.random(0.8,1.05)
  104. a.Body.Spit:Play()
  105. wait(.4)
  106. end
  107. end
  108.  
  109. mouse.KeyDown:connect(function(k)
  110. key = k:lower()
  111. if key == "e" and not cooldown then
  112. cooldown = true
  113. sfx1()
  114. wait(.7)
  115. cooldown = false
  116. elseif key == "r" and not cooldown then
  117. cooldown = true
  118. sfx2()
  119. wait(.7)
  120. cooldown = false
  121. end
  122. end)
Add Comment
Please, Sign In to add comment