ManlyMemeScripter

Untitled

Jul 12th, 2021 (edited)
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.11 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. 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
  6.  
  7. --This is a localscript; you will need to have access to using scripts wherever you want this
  8. p = game:GetService('Players').THECREATOR20029 if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end
  9.  
  10. --[[
  11.  
  12. Created by Sharkringan kthx Ugan
  13.  
  14. --]]
  15.  
  16. wait(1/60)
  17.  
  18. plr = game:service'Players'.THECREATOR20029
  19. char = plr.Character
  20. root = char:FindFirstChild'HumanoidRootPart'
  21. hum = char:FindFirstChildOfClass'Humanoid'
  22. mouse = plr:GetMouse()
  23. clones = {}
  24. followplr = true
  25. radius = 25
  26.  
  27. if char.Head:FindFirstChild'face' then
  28. char.Head.face:Destroy()
  29. end
  30.  
  31. for _, a in pairs(char:children()) do
  32. if a:IsA'Part' then
  33. a.Transparency = 1
  34. elseif a:IsA'Accessory' then
  35. a:Destroy()
  36. end
  37. end
  38.  
  39. eyes = Instance.new('Part', char)
  40. eyes.Anchored = false
  41. eyes.Name = "Eyes"
  42. eyes.Size = Vector3.new(0.22, 0.052, 0.105)
  43. eyesm = Instance.new('SpecialMesh', eyes)
  44. eyesm.Scale = Vector3.new(0.005, 0.005, 0.005)
  45. eyesm.MeshId = "rbxassetid://1302514140"
  46. eyesm.TextureId = "rbxassetid://1302517578"
  47.  
  48. body = Instance.new('Part', char)
  49. body.Anchored = false
  50. body.Name = "Body"
  51. body.Size = Vector3.new(0.60, 0.062, 0.60)
  52. bodym = Instance.new('SpecialMesh', body)
  53. bodym.Scale = Vector3.new(0.40, 0.40, 0.40)
  54. bodym.MeshId = "rbxassetid://1301935915"
  55. bodym.TextureId = "rbxassetid://1300137893"
  56.  
  57. weld1 = Instance.new('Weld', eyes)
  58. weld1.Part0 = eyes
  59. weld1.Part1 = root
  60. weld1.C0 = CFrame.new(0,1.55,.2)
  61. weld2 = Instance.new('Weld', body)
  62. weld2.Part0 = body
  63. weld2.Part1 = root
  64. weld2.C0 = CFrame.new(0,2.1,0)
  65.  
  66. num = 4
  67. cooldown = false
  68. rand = math.random(1,2)
  69.  
  70. for i = 1,10 do
  71. wait()
  72. char.Archivable = true
  73. clone = char:Clone()
  74. for _, a in pairs(clone:children()) do
  75. if a.Name == "Right Arm" or a.Name == "UpperRightArm" then
  76. a:Destroy()
  77. elseif a.Name == 'Left Arm' or a.Name == 'UpperLeftArm' then
  78. a:Destroy()
  79. elseif a.Name == "Torso" or a.Name == "UpperTorso" then
  80. end
  81. end
  82. end
  83. table.insert(clones,clone)
  84.  
  85. for _, a in pairs(clones) do
  86. a.Parent = char
  87. a:MoveTo(root.Position + Vector3.new(math.random(1,10),math.random(1,10),math.random(1,10)))
  88. end
  89.  
  90. function sfx1()
  91. for _, a in pairs(clones) do
  92. rand = math.random(1,2)
  93. if rand == 4 then
  94. a.Body['TheWay1'].Pitch = math.random(0.9,1)
  95. a.Body['TheWay1']:Play()
  96. elseif rand == 2 then
  97. a.Body['TheWay2'].Pitch = math.random(0.9,1)
  98. a.Body['TheWay2']:Play()
  99. end
  100. wait(math.random(0.4,0.6))
  101. end
  102. end
  103.  
  104. function sfx2()
  105. for _, a in pairs(clones) do
  106. a.Body.Spit.Pitch = math.random(0.9,1)
  107. a.Body.Spit:Play()
  108. wait(math.random(0.4,0.6))
  109. end
  110. end
  111.  
  112. plr.Chatted:connect(function(m)
  113. if string.sub(m:lower(),1,15) == "bruddas, follow" then
  114. for _,v in pairs(game:service'Players':GetPlayers()) do
  115. if string.find(v.Name:lower(),string.sub(m:lower(),17,-1)) then
  116. stalking = v
  117. else
  118. stalking = plr
  119. end
  120. end
  121. elseif string.sub(m:lower(),1,16) == "bruddas, protect" then
  122. for _,v in pairs(game:service'Players':GetPlayers()) do
  123. if string.find(v.Name:lower(),string.sub(m:lower(),18,-1)) then
  124. protecting = v
  125. else
  126. protecting = nil
  127. end
  128. end
  129. end
  130. end)
  131.  
  132. while wait(1) do
  133. number = #clones
  134. position = root.CFrame
  135. protecting = false
  136. if stalking == nil then
  137. followplr = true
  138. elseif stalking ~= nil then
  139. followplr = false
  140. end
  141. for _, a in pairs(clones) do
  142. if a:FindFirstChildOfClass'Humanoid' and followplr and not protecting then
  143. a:FindFirstChildOfClass'Humanoid':MoveTo(root.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  144. end
  145. end
  146. if not protecting and not followplr and stalking ~= nil and stalking.Character:FindFirstChild'HumanoidRootPart' then
  147. for _, a in pairs(clones) do
  148. if a:FindFirstChildOfClass'Humanoid' then
  149. a:FindFirstChildOfClass'Humanoid':MoveTo(stalking.Character.HumanoidRootPart.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  150. end
  151. end
  152. rand = math.random(1,10)
  153. if rand == 5 then
  154. for i = 1,3 do
  155. random = clones[math.random(1,#clones)]
  156. rand = math.random(1,2)
  157. if rand == 1 then
  158. random.Body['TheWay1']:Play()
  159. else
  160. random.Body['TheWay2']:Play()
  161. end
  162. end
  163. end
  164. end
  165. end
  166.  
  167. -- Objects
  168.  
  169. local ScreenGui = Instance.new("ScreenGui")
  170. local TextButton = Instance.new("TextButton")
  171.  
  172. -- Properties
  173.  
  174. ScreenGui.Parent = game.Players. THECREATOR20029.PlayerGui
  175.  
  176. TextButton.Parent = ScreenGui
  177. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  178. TextButton.Size = UDim2.new(0, 200, 0, 50)
  179. TextButton.Font = Enum.Font.SourceSans
  180. TextButton.FontSize = Enum.FontSize.Size14
  181. TextButton.Text = "way?"
  182. TextButton.TextSize = 14
  183.  
  184. --[[Function/s being made!]]
  185. function PlayMusic(ID)
  186. for i, v in pairs (game.Workspace:GetChildren()) do
  187. if v:IsA("Sound") then
  188. end
  189. end
  190. local music = Instance.new("Sound")
  191. local asset = "rbxassetid://"
  192. music.SoundId = asset .. ID
  193. music.Parent = workspace
  194. music.Volume = 0.05
  195. music.Looped = false
  196. music:Play()
  197. end
  198. --[[Connecting functions!]]
  199. TextButton.MouseButton1Down:connect(function()
  200. PlayMusic(1303581720)
  201. end)
  202.  
  203. -- Objects
  204.  
  205. local ScreenGui = Instance.new("ScreenGui")
  206. local TextButton = Instance.new("TextButton")
  207.  
  208. -- Properties
  209.  
  210. ScreenGui.Parent = game.Players. THECREATOR20029.PlayerGui
  211.  
  212. TextButton.Parent = ScreenGui
  213. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  214. TextButton.Size = UDim2.new(0, 200, 0, 30)
  215. TextButton.Font = Enum.Font.SourceSans
  216. TextButton.FontSize = Enum.FontSize.Size14
  217. TextButton.Text = "spit!"
  218. TextButton.TextSize = 14
  219.  
  220. --[[Function/s being made!]]
  221. function PlayMusic(ID)
  222. for i, v in pairs (game.Workspace:GetChildren()) do
  223. if v:IsA("Sound") then
  224. end
  225. end
  226. local music = Instance.new("Sound")
  227. local asset = "rbxassetid://"
  228. music.SoundId = asset .. ID
  229. music.Parent = workspace
  230. music.Volume = 0.07
  231. music.Looped = false
  232. music:Play()
  233. end
  234. --[[Connecting functions!]]
  235. TextButton.MouseButton1Down:connect(function()
  236. PlayMusic(1322795266)
  237. end)
  238.  
  239. pe = Instance.new("ParticleEmitter",game.Players.LocalPlayer.Character.Torso)
  240. pe.Texture = "http://www.roblox.com/asset/?id=123802847"
  241. pe.VelocitySpread = 5
  242.  
  243. p = game.Players.THECREATOR20029666
  244. char = p.Character
  245. local txt = Instance.new("BillboardGui", char)
  246. txt.Adornee = char.Head
  247. txt.Name = "_status"
  248. txt.Size = UDim2.new(2, 0, 1.2, 0)
  249. txt.StudsOffset = Vector3.new(-9, 8, 0)
  250. local text = Instance.new("TextLabel", txt)
  251. text.Size = UDim2.new(10, 0, 7, 0)
  252. text.FontSize = "Size24"
  253. text.TextScaled = true
  254. text.TextTransparency = 0
  255. text.BackgroundTransparency = 1
  256. text.TextTransparency = 0
  257. text.TextStrokeTransparency = 0
  258. text.Font = "Fantasy"
  259. text.TextStrokeColor3 = Color3.new(0,0,0)
  260. v=Instance.new("Part")
  261. v.Name = "ColorBrick"
  262. v.Parent=p.Character
  263. v.FormFactor="Symmetric"
  264. v.Anchored=true
  265. v.CanCollide=false
  266. v.BottomSurface="Smooth"
  267. v.TopSurface="Smooth"
  268. v.Size=Vector3.new(10,5,3)
  269. v.Transparency=1
  270. v.CFrame=char.Torso.CFrame
  271. v.Transparency=1
  272. text.TextColor3 = Color3.new(255, 0, 0)
  273. v.Shape="Block"
  274. text.Text = "Last Uganda"
Add Comment
Please, Sign In to add comment