Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --THE PEPE PATH LEAKED (is a local script)
- Player = game.Players.LocalPlayer
- bin = Instance.new("HopperBin",Player.Backpack)
- bin.Name = "Pepe Path"
- function onKeyDown(Key)
- if Key:lower() == "r" then
- for _,v in pairs(game.Workspace:GetChildren()) do
- if v.Name == "NewPart" then
- if v:findFirstChild("creator") and v.creator.Value == game.Players.LocalPlayer then
- v:Remove()
- end
- end
- end
- end
- end
- function press(mouse)
- if sel == true then
- local hit = mouse.Target
- local point = mouse.Hit.p
- local s = Instance.new("Part")
- s.CanCollide = true
- s.Size=Vector3.new(6,6,6)
- s.Anchored = true
- s.BrickColor = BrickColor.Green()
- s.Transparency = 0
- s.Velocity = mouse.Hit.lookVector * 100
- s.Name = "NewPart"
- s.Material = "Neon"
- s.TopSurface = "Smooth"
- s.BottomSurface = "Smooth"
- s.Parent = game.Workspace
- local t = Instance.new("SelectionBox",s)
- t.Adornee = s
- t.Color3 = s.BrickColor.Color
- for i=0, 5 do
- local D = Instance.new("Decal")
- D.Name = "PEPE"
- D.Face = i
- D.Parent = s
- D.Texture = "http://www.roblox.com/asset/?id=244905904"
- end
- game:GetService("Debris"):AddItem(s,120)
- s.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Head.Position)
- 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)
- s.CFrame = CFrame.new(s.Position,point)
- local r = Instance.new("ObjectValue")
- r.Value = game.Players.LocalPlayer
- r.Parent = s
- r.Name = "creator"
- wait()
- press(mouse)
- end
- end
- function onButton1Down(mouse)
- sel = true
- if sel == true then
- press(mouse)
- end
- end
- function onButton1Up(mouse)
- sel = false
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- mouse.Button1Down:connect(function()
- onButton1Down(mouse)
- end)
- mouse.Button1Up:connect(function()
- onButton1Up(mouse)
- end)
- mouse.KeyDown:connect(onKeyDown)
- end
- bin.Selected:connect(onEquippedLocal)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement