Advertisement
ItzInfern

ungandan knucles

Jan 6th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.75 KB | None | 0 0
  1.  
  2.  
  3.  
  4. --https://github.com/Mokiros/roblox-FE-compatibility
  5. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  6. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  7. local RealPlayer = Player
  8. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  9.  
  10.  
  11. --[[
  12.  
  13. Created by Sharkringan kthx
  14.  
  15. --]]
  16.  
  17. wait(1/60)
  18.  
  19. plr = game:service'Players'.LocalPlayer
  20. char = plr.Character
  21. root = char:FindFirstChild'HumanoidRootPart'
  22. hum = char:FindFirstChildOfClass'Humanoid'
  23. mouse = plr:GetMouse()
  24. clones = {}
  25. followplr = true
  26. radius = 25
  27.  
  28. if char.Head:FindFirstChild'face' then
  29. char.Head.face:Destroy()
  30. end
  31.  
  32. for _, a in pairs(char:children()) do
  33. if a:IsA'Part' then
  34. a.Transparency = 1
  35. elseif a:IsA'Accessory' then
  36. a:Destroy()
  37. end
  38. end
  39.  
  40. eyes = Instance.new('Part', char)
  41. eyes.Anchored = false
  42. eyes.Name = "Eyes"
  43. eyes.Size = Vector3.new(0.22, 0.052, 0.105)
  44. eyesm = Instance.new('SpecialMesh', eyes)
  45. eyesm.Scale = Vector3.new(0.039, 0.039, 0.039)
  46. eyesm.MeshId = "rbxassetid://1300138314"
  47. eyesm.TextureId = "rbxassetid://1300129774"
  48.  
  49. body = Instance.new('Part', char)
  50. body.Anchored = false
  51. body.Name = "Body"
  52. body.Size = Vector3.new(0.07, 0.062, 0.078)
  53. bodym = Instance.new('SpecialMesh', body)
  54. bodym.Scale = Vector3.new(0.039, 0.039, 0.039)
  55. bodym.MeshId = "rbxassetid://1300136843"
  56. bodym.TextureId = "rbxassetid://1300137893"
  57.  
  58. weld1 = Instance.new('Weld', eyes)
  59. weld1.Part0 = eyes
  60. weld1.Part1 = root
  61. weld1.C0 = CFrame.new(0,1.55,.2)
  62. weld2 = Instance.new('Weld', body)
  63. weld2.Part0 = body
  64. weld2.Part1 = root
  65. weld2.C0 = CFrame.new(0,2.1,0)
  66. local music=Instance.new("Sound",char.Torso)
  67. music.SoundId="rbxassetid://1319438783"
  68. music.Volume = 2.5
  69. music.Looped=true
  70. music:Play()
  71. TheWay1 = Instance.new('Sound', body)
  72. TheWay1.SoundId = "rbxassetid://1320393438"
  73. TheWay1.Volume = 3
  74. TheWay1.Name = "TheWay1"
  75. TheWay2 = Instance.new('Sound', body)
  76. TheWay2.SoundId = "rbxassetid://1295525558"
  77. TheWay2.Volume = 3
  78. TheWay2.Name = "TheWay2"
  79. Spit = Instance.new('Sound', body)
  80. Spit.SoundId = "rbxassetid://1322795266"
  81. Spit.Volume = 3
  82. Spit.Name = "Spit"
  83. Click = Instance.new('Sound', body)
  84. Click.SoundId = "rbxassetid://1335379417"
  85. Click.Volume = 3
  86.  
  87. num = 1
  88. cooldown = false
  89. rand = math.random(1,2)
  90.  
  91. for i = 1,10 do
  92. wait()
  93. char.Archivable = true
  94. clone = char:Clone()
  95. for _, a in pairs(clone:children()) do
  96. if a.Name == "Right Arm" or a.Name == "UpperRightArm" then
  97. a:Destroy()
  98. elseif a.Name == 'Left Arm' or a.Name == 'UpperLeftArm' then
  99. a:Destroy()
  100. elseif a.Name == "Torso" or a.Name == "UpperTorso" then
  101. if a.Sound then
  102. a.Sound:Remove()
  103. end
  104. end
  105. end
  106. table.insert(clones,clone)
  107. end
  108.  
  109. for _, a in pairs(clones) do
  110. a.Parent = char
  111. a:MoveTo(root.Position + Vector3.new(math.random(1,10),math.random(1,10),math.random(1,10)))
  112. end
  113.  
  114. function sfx1()
  115. for _, a in pairs(clones) do
  116. rand = math.random(1,2)
  117. if rand == 1 then
  118. a.Body['TheWay1'].Pitch = math.random(0.9,1)
  119. a.Body['TheWay1']:Play()
  120. elseif rand == 2 then
  121. a.Body['TheWay2'].Pitch = math.random(0.9,1)
  122. a.Body['TheWay2']:Play()
  123. end
  124. wait(math.random(0.4,0.6))
  125. end
  126. end
  127.  
  128. function sfx2()
  129. for _, a in pairs(clones) do
  130. a.Body.Spit.Pitch = math.random(0.9,1)
  131. a.Body.Spit:Play()
  132. wait(math.random(0.4,0.6))
  133. end
  134. end
  135.  
  136. mouse.KeyDown:connect(function(k)
  137. key = k:lower()
  138. if key == "e" and not cooldown then
  139. cooldown = true
  140. sfx1()
  141. wait(.7)
  142. cooldown = false
  143. elseif key == "r" and not cooldown then
  144. cooldown = true
  145. sfx2()
  146. wait(.7)
  147. cooldown = false
  148. end
  149. end)
  150.  
  151. plr.Chatted:connect(function(m)
  152. if string.sub(m:lower(),1,15) == "bruddas, follow" then
  153. for _,v in pairs(game:service'Players':GetPlayers()) do
  154. if string.find(v.Name:lower(),string.sub(m:lower(),17,-1)) then
  155. stalking = v
  156. else
  157. stalking = plr
  158. end
  159. end
  160. elseif string.sub(m:lower(),1,16) == "bruddas, protect" then
  161. for _,v in pairs(game:service'Players':GetPlayers()) do
  162. if string.find(v.Name:lower(),string.sub(m:lower(),18,-1)) then
  163. protecting = v
  164. else
  165. protecting = nil
  166. end
  167. end
  168. end
  169. end)
  170.  
  171. while wait(1) do
  172. number = #clones
  173. position = root.CFrame
  174. protecting = false
  175. if stalking == nil then
  176. followplr = true
  177. elseif stalking ~= nil then
  178. followplr = false
  179. end
  180. for _, a in pairs(clones) do
  181. if a:FindFirstChildOfClass'Humanoid' and followplr and not protecting then
  182. a:FindFirstChildOfClass'Humanoid':MoveTo(root.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  183. end
  184. end
  185. if not protecting and not followplr and stalking ~= nil and stalking.Character:FindFirstChild'HumanoidRootPart' then
  186. for _, a in pairs(clones) do
  187. if a:FindFirstChildOfClass'Humanoid' then
  188. a:FindFirstChildOfClass'Humanoid':MoveTo(stalking.Character.HumanoidRootPart.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  189. end
  190. end
  191. rand = math.random(1,10)
  192. if rand == 5 then
  193. for i = 1,3 do
  194. random = clones[math.random(1,#clones)]
  195. rand = math.random(1,2)
  196. if rand == 1 then
  197. random.Body['TheWay1']:Play()
  198. else
  199. random.Body['TheWay2']:Play()
  200. end
  201. end
  202. end
  203. end
  204. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement