Advertisement
Destroyer_again2

pepe gui

Jan 1st, 2019
433
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Your fucking script is assholic use h/ dumbass") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("Execute the c00l Kidd stuff")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. --HOW TO SAVE PEPE GUI ON VOIDACITY SCRIPT BUILDER
  7. --step 1 : say createhttp/pepegui/http://pastebin.com/raw/PxatsDKe
  8. --step 2 : say save/pepegui
  9. --!FOR RUN PEPE GUI SAY rl/pepegui
  10. sc = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui) --:D its WORKS!
  11. q = Instance.new("Frame", game.Players.LocalPlayer.PlayerGui.ScreenGui)
  12. q.Name = "qe"
  13. q.Position = UDim2.new(0, -10, 0, 0)
  14. q.Size = UDim2.new(0, 260, 0, 90)
  15. q.BackgroundColor3 = Color3.new(0,255,0)
  16. q.Active = true
  17. n = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.qe)
  18. n.Position = UDim2.new(0, 0, 0, 0)
  19. n.Size = UDim2.new(0, 260, 0, 30)
  20. n.Style = "RobloxRoundDefaultButton"
  21. n.Text = "Pepe Path"
  22. n.Active = true
  23. a = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.qe)
  24. a.Name = "eq"
  25. a.Position = UDim2.new(0, 0, 0, 30)
  26. a.Size = UDim2.new(0, 260, 0, 30)
  27. a.Style = "RobloxRoundDefaultButton"
  28. a.Text = "Pepe Decal SPAM"
  29. a.Active = true
  30. no = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.qe)
  31. no.Name = "nope"
  32. no.Position = UDim2.new(0, 0, 0, 60)
  33. no.Size = UDim2.new(0, 260, 0, 30)
  34. no.Style = "RobloxRoundDefaultButton"
  35. no.Text = "Pepe Music"
  36. no.Active = true
  37. --table.getn
  38. game.Players.LocalPlayer.PlayerGui.ScreenGui.qe.TextButton.MouseButton1Down:connect(function()
  39. Player = game.Players.LocalPlayer
  40.  
  41. bin = Instance.new("HopperBin",Player.Backpack)
  42. bin.Name = "Pepe Path"
  43.  
  44. function onKeyDown(Key)
  45.     if Key:lower() == "r" then
  46.         for _,v in pairs(game.Workspace:GetChildren()) do
  47.             if v.Name == "NewPart" then
  48.                 if v:findFirstChild("creator") and v.creator.Value == game.Players.LocalPlayer then
  49.                     v:Remove()
  50.                 end
  51.             end
  52.         end
  53.     end
  54. end
  55.  
  56. function press(mouse)
  57.     if sel == true then
  58.         local hit = mouse.Target
  59.         local point = mouse.Hit.p
  60.         local s = Instance.new("Part")
  61.         s.CanCollide = true
  62.         s.Size=Vector3.new(6,6,6)
  63.         s.Anchored = true
  64.         s.BrickColor = BrickColor.Green()
  65.         s.Transparency = 0
  66.         s.Velocity = mouse.Hit.lookVector * 100
  67.         s.Name = "NewPart"
  68.         s.Material = "Neon"
  69.         s.TopSurface = "Smooth"
  70.         s.BottomSurface = "Smooth"
  71.         s.Parent = game.Workspace
  72.         local t = Instance.new("SelectionBox",s)
  73.         t.Adornee = s
  74.         t.Color3 = s.BrickColor.Color
  75.         for i=0, 5 do
  76.             local D = Instance.new("Decal")
  77.             D.Name = "PEPE"
  78.             D.Face = i
  79.             D.Parent = s
  80.             D.Texture = "http://www.roblox.com/asset/?id=244905904"
  81.         end
  82.         game:GetService("Debris"):AddItem(s,120)
  83.         s.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Head.Position)
  84.         s.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Torso.Position.x,game.Players.LocalPlayer.Character.Torso.Position.y-6,game.Players.LocalPlayer.Character.Torso.Position.z)
  85.         s.CFrame = CFrame.new(s.Position,point)
  86.         local r = Instance.new("ObjectValue")
  87.         r.Value = game.Players.LocalPlayer
  88.         r.Parent = s
  89.         r.Name = "creator"
  90.         wait()
  91.         press(mouse)
  92.     end
  93. end
  94.  
  95.  
  96. function onButton1Down(mouse)
  97.     sel = true
  98.     if sel == true then
  99.         press(mouse)
  100.     end
  101. end
  102.  
  103. function onButton1Up(mouse)
  104.     sel = false
  105. end
  106.  
  107. function onEquippedLocal(mouse)
  108.     if mouse == nil then
  109.         print("Mouse not found")
  110.         return
  111.     end
  112.     mouse.Icon = "rbxasset://textures\\GunCursor.png"
  113.     mouse.Button1Down:connect(function()
  114.         onButton1Down(mouse)
  115.     end)
  116.     mouse.Button1Up:connect(function()
  117.         onButton1Up(mouse)
  118.     end)
  119.     mouse.KeyDown:connect(onKeyDown)
  120. end
  121.  
  122.  
  123. bin.Selected:connect(onEquippedLocal)
  124. end)
  125. --PEPE SPAM
  126. game.Players.LocalPlayer.PlayerGui.ScreenGui.qe.nope.MouseButton1Down:connect(function()
  127.      local s = Instance.new("Sound")
  128. s.Name = "Sound"
  129. s.SoundId = "http://www.roblox.com/asset/?id=264246827"
  130. s.Volume = 1
  131. s.Looped = true
  132. s.archivable = false
  133. s.Parent = game.Workspace
  134. s:play()
  135. end)
  136. --PEPE SUIT ME
  137. wait(1)
  138. game.Players.LocalPlayer.PlayerGui.ScreenGui.qe.eq.MouseButton1Down:connect(function()
  139.     local ID =244905904
  140. function spamDecal(v)
  141.     if v:IsA("Part") then
  142.         for i=0, 5 do
  143.             D = Instance.new("Decal")
  144.             D.Name = "pepedecalxd"
  145.             D.Face = i
  146.             D.Parent = v
  147.             D.Texture = ("http://www.roblox.com/asset/?id="..Id)
  148.         end
  149.     else
  150.         if v:IsA("Model") then
  151.             for a,b in pairs(v:GetChildren()) do
  152.                 spamDecal(b)
  153.             end
  154.         end
  155.     end
  156. end
  157. function decalspam(id)
  158.     Id = id
  159.     for i,v in pairs(game.Workspace:GetChildren()) do
  160.         if v:IsA("Part") then
  161.         for i=0, 5 do
  162.             D = Instance.new("Decal")
  163.             D.Name = "pepedecalxd"
  164.             D.Face = i
  165.             D.Parent = v
  166.             D.Texture = ("http://www.roblox.com/asset/?id="..id)
  167.         end
  168.     else
  169.         if v:IsA("Model") then
  170.             for a,b in pairs(v:GetChildren()) do
  171.                 spamDecal(b)
  172.             end
  173.         end
  174.     end
  175. end
  176. end
  177.  
  178. decalspam(ID)
  179. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement