Team_Alex

dead meme script

Apr 18th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.62 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. followplr = true
  16. radius = 25
  17.  
  18. if char.Head:FindFirstChild'face' then
  19. char.Head.face:Destroy()
  20. end
  21.  
  22. for _, a in pairs(char:children()) do
  23. if a:IsA'Part' then
  24. a.Transparency = 1
  25. elseif a:IsA'Accessory' then
  26. a:Destroy()
  27. end
  28. end
  29.  
  30. eyes = Instance.new('Part', char)
  31. eyes.Anchored = false
  32. eyes.Name = "Eyes"
  33. eyes.Size = Vector3.new(0.22, 0.052, 0.105)
  34. eyesm = Instance.new('SpecialMesh', eyes)
  35. eyesm.Scale = Vector3.new(0.039, 0.039, 0.039)
  36. eyesm.MeshId = "rbxassetid://1300138314"
  37. eyesm.TextureId = "rbxassetid://1300129774"
  38.  
  39. body = Instance.new('Part', char)
  40. body.Anchored = false
  41. body.Name = "Body"
  42. body.Size = Vector3.new(0.07, 0.062, 0.078)
  43. bodym = Instance.new('SpecialMesh', body)
  44. bodym.Scale = Vector3.new(0.039, 0.039, 0.039)
  45. bodym.MeshId = "rbxassetid://1300136843"
  46. bodym.TextureId = "rbxassetid://1300137893"
  47.  
  48. weld1 = Instance.new('Weld', eyes)
  49. weld1.Part0 = eyes
  50. weld1.Part1 = root
  51. weld1.C0 = CFrame.new(0,1.55,.2)
  52. weld2 = Instance.new('Weld', body)
  53. weld2.Part0 = body
  54. weld2.Part1 = root
  55. weld2.C0 = CFrame.new(0,2.1,0)
  56. local music=Instance.new("Sound",char.Torso)
  57. music.SoundId="rbxassetid://1319438783"
  58. music.Volume = 2.5
  59. music.Looped=true
  60. music:Play()
  61. TheWay1 = Instance.new('Sound', body)
  62. TheWay1.SoundId = "rbxassetid://1320393438"
  63. TheWay1.Volume = 3
  64. TheWay1.Name = "TheWay1"
  65. TheWay2 = Instance.new('Sound', body)
  66. TheWay2.SoundId = "rbxassetid://1295525558"
  67. TheWay2.Volume = 3
  68. TheWay2.Name = "TheWay2"
  69. Spit = Instance.new('Sound', body)
  70. Spit.SoundId = "rbxassetid://1322795266"
  71. Spit.Volume = 3
  72. Spit.Name = "Spit"
  73. Click = Instance.new('Sound', body)
  74. Click.SoundId = "rbxassetid://1335379417"
  75. Click.Volume = 3
  76.  
  77. num = 1
  78. cooldown = false
  79. rand = math.random(1,2)
  80.  
  81. for i = 1,10 do
  82. wait()
  83. char.Archivable = true
  84. clone = char:Clone()
  85. for _, a in pairs(clone:children()) do
  86. if a.Name == "Right Arm" or a.Name == "UpperRightArm" then
  87. a:Destroy()
  88. elseif a.Name == 'Left Arm' or a.Name == 'UpperLeftArm' then
  89. a:Destroy()
  90. elseif a.Name == "Torso" or a.Name == "UpperTorso" then
  91.     if a.Sound then
  92.         a.Sound:Remove()
  93.     end
  94. end
  95. end
  96. table.insert(clones,clone)
  97. end
  98.  
  99. for _, a in pairs(clones) do
  100. a.Parent = char
  101. a:MoveTo(root.Position + Vector3.new(math.random(1,10),math.random(1,10),math.random(1,10)))
  102. end
  103.  
  104. function sfx1()
  105. for _, a in pairs(clones) do
  106. rand = math.random(1,2)
  107. if rand == 1 then
  108. a.Body['TheWay1'].Pitch = math.random(0.9,1)
  109. a.Body['TheWay1']:Play()
  110. elseif rand == 2 then
  111. a.Body['TheWay2'].Pitch = math.random(0.9,1)
  112. a.Body['TheWay2']:Play()
  113. end
  114. wait(math.random(0.4,0.6))
  115. end
  116. end
  117.  
  118. function sfx2()
  119. for _, a in pairs(clones) do
  120. a.Body.Spit.Pitch = math.random(0.9,1)
  121. a.Body.Spit:Play()
  122. wait(math.random(0.4,0.6))
  123. end
  124. end
  125.  
  126. mouse.KeyDown:connect(function(k)
  127. key = k:lower()
  128. if key == "e" and not cooldown then
  129. cooldown = true
  130. sfx1()
  131. wait(.7)
  132. cooldown = false
  133. elseif key == "r" and not cooldown then
  134. cooldown = true
  135. sfx2()
  136. wait(.7)
  137. cooldown = false
  138. end
  139. end)
  140.  
  141. plr.Chatted:connect(function(m)
  142. if string.sub(m:lower(),1,15) == "bruddas, follow" then
  143. for _,v in pairs(game:service'Players':GetPlayers()) do
  144. if string.find(v.Name:lower(),string.sub(m:lower(),17,-1)) then
  145. stalking = v
  146. else
  147. stalking = plr
  148. end
  149. end
  150. elseif string.sub(m:lower(),1,16) == "bruddas, protect" then
  151. for _,v in pairs(game:service'Players':GetPlayers()) do
  152. if string.find(v.Name:lower(),string.sub(m:lower(),18,-1)) then
  153. protecting = v
  154. else
  155. protecting = nil
  156. end
  157. end
  158. end
  159. end)
  160.  
  161. while wait(1) do
  162. number = #clones
  163. position = root.CFrame
  164. protecting = false
  165. if stalking == nil then
  166. followplr = true
  167. elseif stalking ~= nil then
  168. followplr = false
  169. end
  170. for _, a in pairs(clones) do
  171. if a:FindFirstChildOfClass'Humanoid' and followplr and not protecting then
  172. a:FindFirstChildOfClass'Humanoid':MoveTo(root.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  173. end
  174. end
  175. if not protecting and not followplr and stalking ~= nil and stalking.Character:FindFirstChild'HumanoidRootPart' then
  176. for _, a in pairs(clones) do
  177. if a:FindFirstChildOfClass'Humanoid' then
  178. a:FindFirstChildOfClass'Humanoid':MoveTo(stalking.Character.HumanoidRootPart.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  179. end
  180. end
  181. rand = math.random(1,10)
  182. if rand == 5 then
  183. for i = 1,3 do
  184. random = clones[math.random(1,#clones)]
  185. rand = math.random(1,2)
  186. if rand == 1 then
  187. random.Body['TheWay1']:Play()
  188. else
  189. random.Body['TheWay2']:Play()
  190. end
  191. end
  192. end
  193. end
  194. end
Add Comment
Please, Sign In to add comment