Upscalefanatic3

Uganda Knuckles Script

Jan 18th, 2018
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.39 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.  
  57. TheWay1 = Instance.new('Sound', body)
  58. TheWay1.SoundId = "rbxassetid://1320393438"
  59. TheWay1.Volume = 3
  60. TheWay1.Name = "TheWay1"
  61. TheWay2 = Instance.new('Sound', body)
  62. TheWay2.SoundId = "rbxassetid://1295525558"
  63. TheWay2.Volume = 3
  64. TheWay2.Name = "TheWay2"
  65. Spit = Instance.new('Sound', body)
  66. Spit.SoundId = "rbxassetid://1322795266"
  67. Spit.Volume = 3
  68. Spit.Name = "Spit"
  69. Click = Instance.new('Sound', body)
  70. Click.SoundId = "rbxassetid://1335379417"
  71. Click.Volume = 3
  72.  
  73. num = 1
  74. cooldown = false
  75. rand = math.random(1,2)
  76.  
  77. for i = 1,10 do
  78. wait()
  79. char.Archivable = true
  80. clone = char:Clone()
  81. for _, a in pairs(clone:children()) do
  82. if a.Name == "Right Arm" or a.Name == "UpperRightArm" then
  83. a:Destroy()
  84. elseif a.Name == 'Left Arm' or a.Name == 'UpperLeftArm' then
  85. a:Destroy()
  86. end
  87. end
  88. table.insert(clones,clone)
  89. end
  90.  
  91. for _, a in pairs(clones) do
  92. a.Parent = char
  93. a:MoveTo(root.Position + Vector3.new(math.random(1,10),math.random(1,10),math.random(1,10)))
  94. end
  95.  
  96. function sfx1()
  97. for _, a in pairs(clones) do
  98. rand = math.random(1,2)
  99. if rand == 1 then
  100. a.Body['TheWay1'].Pitch = math.random(0.9,1)
  101. a.Body['TheWay1']:Play()
  102. elseif rand == 2 then
  103. a.Body['TheWay2'].Pitch = math.random(0.9,1)
  104. a.Body['TheWay2']:Play()
  105. end
  106. wait(math.random(0.4,0.6))
  107. end
  108. end
  109.  
  110. function sfx2()
  111. for _, a in pairs(clones) do
  112. a.Body.Spit.Pitch = math.random(0.9,1)
  113. a.Body.Spit:Play()
  114. wait(math.random(0.4,0.6))
  115. end
  116. end
  117.  
  118. mouse.KeyDown:connect(function(k)
  119. key = k:lower()
  120. if key == "e" and not cooldown then
  121. cooldown = true
  122. sfx1()
  123. wait(.7)
  124. cooldown = false
  125. elseif key == "r" and not cooldown then
  126. cooldown = true
  127. sfx2()
  128. wait(.7)
  129. cooldown = false
  130. end
  131. end)
  132.  
  133. plr.Chatted:connect(function(m)
  134. if string.sub(m:lower(),1,15) == "bruddas, follow" then
  135. for _,v in pairs(game:service'Players':GetPlayers()) do
  136. if string.find(v.Name:lower(),string.sub(m:lower(),17,-1)) then
  137. stalking = v
  138. else
  139. stalking = plr
  140. end
  141. end
  142. elseif string.sub(m:lower(),1,16) == "bruddas, protect" then
  143. for _,v in pairs(game:service'Players':GetPlayers()) do
  144. if string.find(v.Name:lower(),string.sub(m:lower(),18,-1)) then
  145. protecting = v
  146. else
  147. protecting = nil
  148. end
  149. end
  150. end
  151. end)
  152.  
  153. while wait(1) do
  154. number = #clones
  155. position = root.CFrame
  156. protecting = false
  157. if stalking == nil then
  158. followplr = true
  159. elseif stalking ~= nil then
  160. followplr = false
  161. end
  162. for _, a in pairs(clones) do
  163. if a:FindFirstChildOfClass'Humanoid' and followplr and not protecting then
  164. a:FindFirstChildOfClass'Humanoid':MoveTo(root.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  165. end
  166. end
  167. if not protecting and not followplr and stalking ~= nil and stalking.Character:FindFirstChild'HumanoidRootPart' then
  168. for _, a in pairs(clones) do
  169. if a:FindFirstChildOfClass'Humanoid' then
  170. a:FindFirstChildOfClass'Humanoid':MoveTo(stalking.Character.HumanoidRootPart.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  171. end
  172. end
  173. rand = math.random(1,10)
  174. if rand == 5 then
  175. for i = 1,3 do
  176. random = clones[math.random(1,#clones)]
  177. rand = math.random(1,2)
  178. if rand == 1 then
  179. random.Body['TheWay1']:Play()
  180. else
  181. random.Body['TheWay2']:Play()
  182. end
  183. end
  184. end
  185. end
  186. end
Add Comment
Please, Sign In to add comment