Advertisement
trickawsome

Uganda Knuckles Script

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