Advertisement
Guest User

Fe raid

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