ManlyMemeScripter

Untitled

Jul 11th, 2021 (edited)
996
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4.     print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  5.     script.Parent = Player.Character
  6.  
  7.     --RemoteEvent for communicating
  8.     local Event = Instance.new("RemoteEvent")
  9.     Event.Name = "UserInput_Event"
  10.  
  11.     --Fake event to make stuff like Mouse.KeyDown work
  12.     local function fakeEvent()
  13.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14.         t.connect = t.Connect
  15.         return t
  16.     end
  17.  
  18.     --Creating fake input objects with fake variables
  19.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23.     end}
  24.     --Merged 2 functions into one by checking amount of arguments
  25.     CAS.UnbindAction = CAS.BindAction
  26.  
  27.     --This function will trigger the events that have been :Connect()'ed
  28.    local function te(self,ev,...)
  29.        local t = m[ev]
  30.        if t and t._fakeEvent and t.Function then
  31.            t.Function(...)
  32.        end
  33.    end
  34.    m.TrigEvent = te
  35.    UIS.TrigEvent = te
  36.  
  37.    Event.OnServerEvent:Connect(function(plr,io)
  38.        if plr~=Player then return end
  39.        if io.isMouse then
  40.            m.Target = io.Target
  41.            m.Hit = io.Hit
  42.        else
  43.            local b = io.UserInputState == Enum.UserInputState.Begin
  44.            if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45.                return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46.            end
  47.            for _,t in pairs(CAS.Actions) do
  48.                for _,k in pairs(t.Keys) do
  49.                    if k==io.KeyCode then
  50.                        t.Function(t.Name,io.UserInputState,io)
  51.                    end
  52.                end
  53.            end
  54.            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55.            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56.        end
  57.    end)
  58.    Event.Parent = NLS([==[
  59.    local Player = game:GetService("Players").LocalPlayer
  60.    local Event = script:WaitForChild("UserInput_Event")
  61.  
  62.    local UIS = game:GetService("UserInputService")
  63.    local input = function(io,a)
  64.        if a then return end
  65.        --Since InputObject is a client-side instance, we create and pass table instead
  66.        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67.    end
  68.    UIS.InputBegan:Connect(input)
  69.    UIS.InputEnded:Connect(input)
  70.  
  71.    local Mouse = Player:GetMouse()
  72.    local h,t
  73.    --Give the server mouse data 30 times every second, but only if the values changed
  74.    --If player is not moving their mouse, client won't fire events
  75.     while wait(1/30) do
  76.         if h~=Mouse.Hit or t~=Mouse.Target then
  77.             h,t=Mouse.Hit,Mouse.Target
  78.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  79.         end
  80.     end]==],Player.Character)
  81.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. --This is a localscript; you will need to have access to using scripts wherever you want this
  85. p = game:GetService('Players').THECREATOR20029 if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end
  86.  
  87. --[[
  88.  
  89. Created by Sharkringan kthx Ugan
  90.  
  91. --]]
  92.  
  93. wait(1/60)
  94.  
  95. plr = game:service'Players'.THECREATOR20029
  96. char = plr.Character
  97. root = char:FindFirstChild'HumanoidRootPart'
  98. hum = char:FindFirstChildOfClass'Humanoid'
  99. mouse = plr:GetMouse()
  100. clones = {}
  101. followplr = true
  102. radius = 25
  103.  
  104. if char.Head:FindFirstChild'face' then
  105. char.Head.face:Destroy()
  106. end
  107.  
  108. for _, a in pairs(char:children()) do
  109. if a:IsA'Part' then
  110. a.Transparency = 1
  111. elseif a:IsA'Accessory' then
  112. a:Destroy()
  113. end
  114. end
  115.  
  116. eyes = Instance.new('Part', char)
  117. eyes.Anchored = true
  118. eyes.Name = "Eyes"
  119. eyes.Size = Vector3.new(0.22, 0.052, 0.105)
  120. eyesm = Instance.new('SpecialMesh', eyes)
  121. eyesm.Scale = Vector3.new(0.40, 0.40, 0.40)
  122. eyesm.MeshId = "rbxassetid://1032765290"
  123. eyesm.TextureId = "rbxassetid://1032765300"
  124.  
  125. eyes = Instance.new('Part', char)
  126. eyes.Anchored = false
  127. eyes.Name = "Eyes"
  128. eyes.Size = Vector3.new(0.22, 0.052, 0.105)
  129. eyesm = Instance.new('SpecialMesh', eyes)
  130. eyesm.Scale = Vector3.new(0.005, 0.005, 0.005)
  131. eyesm.MeshId = "rbxassetid://1302514140"
  132. eyesm.TextureId = "rbxassetid://1302517578"
  133.  
  134. body = Instance.new('Part', char)
  135. body.Anchored = false
  136. body.Name = "Body"
  137. body.Size = Vector3.new(0.60, 0.062, 0.60)
  138. bodym = Instance.new('SpecialMesh', body)
  139. bodym.Scale = Vector3.new(0.40, 0.40, 0.40)
  140. bodym.MeshId = "rbxassetid://1301935915"
  141. bodym.TextureId = "rbxassetid://1300137893"
  142.  
  143. weld1 = Instance.new('Weld', eyes)
  144. weld1.Part0 = eyes
  145. weld1.Part1 = root
  146. weld1.C0 = CFrame.new(0,1.55,.2)
  147. weld2 = Instance.new('Weld', body)
  148. weld2.Part0 = body
  149. weld2.Part1 = root
  150. weld2.C0 = CFrame.new(0,2.1,0)
  151.  
  152. num = 1
  153. cooldown = false
  154. rand = math.random(1,2)
  155.  
  156. for i = 1,10 do
  157. wait()
  158. char.Archivable = true
  159. clone = char:Clone()
  160. for _, a in pairs(clone:children()) do
  161. if a.Name == "Right Arm" or a.Name == "UpperRightArm" then
  162. a:Destroy()
  163. elseif a.Name == 'Left Arm' or a.Name == 'UpperLeftArm' then
  164. a:Destroy()
  165. elseif a.Name == "Torso" or a.Name == "UpperTorso" then
  166.     end
  167. end
  168. end
  169. table.insert(clones,clone)
  170.  
  171. for _, a in pairs(clones) do
  172. a.Parent = char
  173. a:MoveTo(root.Position + Vector3.new(math.random(1,10),math.random(1,10),math.random(1,10)))
  174. end
  175.  
  176. function sfx1()
  177. for _, a in pairs(clones) do
  178. rand = math.random(1,2)
  179. if rand == 1 then
  180. a.Body['TheWay1'].Pitch = math.random(0.9,1)
  181. a.Body['TheWay1']:Play()
  182. elseif rand == 2 then
  183. a.Body['TheWay2'].Pitch = math.random(0.9,1)
  184. a.Body['TheWay2']:Play()
  185. end
  186. wait(math.random(0.4,0.6))
  187. end
  188. end
  189.  
  190. function sfx2()
  191. for _, a in pairs(clones) do
  192. a.Body.Spit.Pitch = math.random(0.9,1)
  193. a.Body.Spit:Play()
  194. wait(math.random(0.4,0.6))
  195. end
  196. end
  197.  
  198. mouse.KeyDown:connect(function(k)
  199. key = k:lower()
  200. if key == "e" and not cooldown then
  201. cooldown = true
  202. sfx1()
  203. wait(.7)
  204. cooldown = false
  205. elseif key == "r" and not cooldown then
  206. cooldown = true
  207. sfx2()
  208. wait(.7)
  209. cooldown = false
  210. end
  211. end)
  212.  
  213. plr.Chatted:connect(function(m)
  214. if string.sub(m:lower(),1,15) == "bruddas, follow" then
  215. for _,v in pairs(game:service'Players':GetPlayers()) do
  216. if string.find(v.Name:lower(),string.sub(m:lower(),17,-1)) then
  217. stalking = v
  218. else
  219. stalking = plr
  220. end
  221. end
  222. elseif string.sub(m:lower(),1,16) == "bruddas, protect" then
  223. for _,v in pairs(game:service'Players':GetPlayers()) do
  224. if string.find(v.Name:lower(),string.sub(m:lower(),18,-1)) then
  225. protecting = v
  226. else
  227. protecting = nil
  228. end
  229. end
  230. end
  231. end)
  232.  
  233. while wait(1) do
  234. number = #clones
  235. position = root.CFrame
  236. protecting = false
  237. if stalking == nil then
  238. followplr = true
  239. elseif stalking ~= nil then
  240. followplr = false
  241. end
  242. for _, a in pairs(clones) do
  243. if a:FindFirstChildOfClass'Humanoid' and followplr and not protecting then
  244. a:FindFirstChildOfClass'Humanoid':MoveTo(root.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  245. end
  246. end
  247. if not protecting and not followplr and stalking ~= nil and stalking.Character:FindFirstChild'HumanoidRootPart' then
  248. for _, a in pairs(clones) do
  249. if a:FindFirstChildOfClass'Humanoid' then
  250. a:FindFirstChildOfClass'Humanoid':MoveTo(stalking.Character.HumanoidRootPart.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  251. end
  252. end
  253. rand = math.random(1,10)
  254. if rand == 5 then
  255. for i = 1,3 do
  256. random = clones[math.random(1,#clones)]
  257. rand = math.random(1,2)
  258. if rand == 1 then
  259. random.Body['TheWay1']:Play()
  260. else
  261. random.Body['TheWay2']:Play()
  262. end
  263. end
  264. end
  265. end
  266. end
  267.  
  268. -- Objects
  269.  
  270. local ScreenGui = Instance.new("ScreenGui")
  271. local TextButton = Instance.new("TextButton")
  272.  
  273. -- Properties
  274.  
  275. ScreenGui.Parent = game.Players. THECREATOR20029.PlayerGui
  276.  
  277. TextButton.Parent = ScreenGui
  278. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  279. TextButton.Size = UDim2.new(0, 200, 0, 50)
  280. TextButton.Font = Enum.Font.SourceSans
  281. TextButton.FontSize = Enum.FontSize.Size14
  282. TextButton.Text = "way?"
  283. TextButton.TextSize = 14
  284.  
  285. --[[Function/s being made!]]
  286. function PlayMusic(ID)
  287.     for i, v in pairs (game.Workspace:GetChildren()) do
  288.     if v:IsA("Sound") then
  289.     end
  290.     end
  291.     local music = Instance.new("Sound")
  292.     local asset = "rbxassetid://"
  293.     music.SoundId = asset .. ID
  294.     music.Parent = workspace
  295.     music.Volume = 0.05
  296.     music.Looped = false
  297.     music:Play()
  298. end
  299. --[[Connecting functions!]]
  300. TextButton.MouseButton1Down:connect(function()
  301. PlayMusic(1303581720)
  302. end)
  303.  
  304. -- Objects
  305.  
  306. local ScreenGui = Instance.new("ScreenGui")
  307. local TextButton = Instance.new("TextButton")
  308.  
  309. -- Properties
  310.  
  311. ScreenGui.Parent = game.Players. THECREATOR20029.PlayerGui
  312.  
  313. TextButton.Parent = ScreenGui
  314. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  315. TextButton.Size = UDim2.new(0, 200, 0, 30)
  316. TextButton.Font = Enum.Font.SourceSans
  317. TextButton.FontSize = Enum.FontSize.Size14
  318. TextButton.Text = "spit!"
  319. TextButton.TextSize = 14
  320.  
  321. --[[Function/s being made!]]
  322. function PlayMusic(ID)
  323.     for i, v in pairs (game.Workspace:GetChildren()) do
  324.     if v:IsA("Sound") then
  325.     end
  326.     end
  327.     local music = Instance.new("Sound")
  328.     local asset = "rbxassetid://"
  329.     music.SoundId = asset .. ID
  330.     music.Parent = workspace
  331.     music.Volume = 0.07
  332.     music.Looped = false
  333.     music:Play()
  334. end
  335. --[[Connecting functions!]]
  336. TextButton.MouseButton1Down:connect(function()
  337. PlayMusic(1322795266)
  338. end)
  339.  
  340. pe = Instance.new("ParticleEmitter",game.Players.LocalPlayer.Character.Torso)
  341. pe.Texture = "http://www.roblox.com/asset/?id=123802847"
  342. pe.VelocitySpread = 5
  343.  
  344.     p = game.Players.THECREATOR20029666
  345.     char = p.Character
  346.     local txt = Instance.new("BillboardGui", char)
  347.     txt.Adornee = char.Head
  348.     txt.Name = "_status"
  349.     txt.Size = UDim2.new(2, 0, 1.2, 0)
  350.     txt.StudsOffset = Vector3.new(-9, 8, 0)
  351.     local text = Instance.new("TextLabel", txt)
  352.     text.Size = UDim2.new(10, 0, 7, 0)
  353.     text.FontSize = "Size24"
  354.     text.TextScaled = true
  355.     text.TextTransparency = 0
  356.     text.BackgroundTransparency = 1
  357.     text.TextTransparency = 0
  358.     text.TextStrokeTransparency = 0
  359.     text.Font = "Fantasy"
  360.     text.TextStrokeColor3 = Color3.new(0,0,0)
  361.     v=Instance.new("Part")
  362.     v.Name = "ColorBrick"
  363.     v.Parent=p.Character
  364.     v.FormFactor="Symmetric"
  365.     v.Anchored=true
  366.     v.CanCollide=false
  367.     v.BottomSurface="Smooth"
  368.     v.TopSurface="Smooth"
  369.     v.Size=Vector3.new(10,5,3)
  370.     v.Transparency=1
  371.     v.CFrame=char.Torso.CFrame
  372.     v.Transparency=1
  373.     text.TextColor3 = Color3.new(255, 0, 0)
  374.     v.Shape="Block"
  375.     text.Text = "Last Uganda"
Add Comment
Please, Sign In to add comment