Advertisement
Nver4ick

piggy script

Dec 6th, 2022
1,577
-1
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 1
  1. loadstring(game:HttpGet(“https://raw.githubusercontent.com/RegularVynixu/Vynixius/main/Piggy/Piggy”))()
  2.  
  3.  
  4.  
  5.  
  6. loadstring(game:HttpGet((‘https://raw.githubusercontent.com/lolpoppyus/Roblox-Lua/master/Piggy’),true))()
  7.  
  8.  
  9.  
  10. local PiggyGui = Instance.new(“ScreenGui”)
  11. PiggyGui.Name = “PiggyGui”
  12. PiggyGui.Parent = game.StarterGui
  13. PiggyGui.Draggable = true
  14. local ScrollingFrame = Instance.new(“ScrollingFrame”, PiggyGui)
  15. ScrollingFrame.BackgroundColor3 = Color3.new(0.15, 0.15, 0.15)
  16. ScrollingFrame.Position = UDim2.new(0.08, 0, 0.42, 0)
  17. ScrollingFrame.Size = UDim2.new(0, 296, 0, 388)
  18. local PiggyGui = Instance.new(“ScreenGui”)
  19. PiggyGui.Name = “PiggyGui”
  20. PiggyGui.Parent = game.CoreGui
  21. local ScrollingFrame = Instance.new(“ScrollingFrame”, PiggyGui)
  22. ScrollingFrame.BackgroundColor3 = Color3.new(0.15, 0.15, 0.15)
  23. ScrollingFrame.Position = UDim2.new(0.08, 0, 0.42, 0)
  24. ScrollingFrame.Size = UDim2.new(0, 296, 0, 388)
  25. local UIGridLayout = Instance.new(“UIGridLayout”, ScrollingFrame)
  26. UIGridLayout.CellSize = UDim2.new(0,90,0,90)
  27. while wait(1) do
  28. local a = workspace:getDescendants()
  29. local items = {}
  30. local itemframes = ScrollingFrame:getChildren()
  31. for i=1,#itemframes do
  32. if itemframes[i].ClassName == “TextButton” then
  33. itemframes[i]:remove()
  34. end
  35. end
  36. for i=1,#a do
  37. if a[i].Name == “ItemPickupScript” and a[i].Parent:findFirstChild(“ClickDetector”) then
  38. table.insert(items, a[i].Parent)
  39. end
  40. end
  41. for i=1,#items do
  42. local ItemFrame = Instance.new(“TextButton”, ScrollingFrame)
  43. ItemFrame.Name = “ItemFrame”
  44. ItemFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  45. ItemFrame.BackgroundTransparency = 0.95
  46. ItemFrame.Size = UDim2.new(0, 100, 0, 100)
  47. ItemFrame.Text = “”
  48. local View = Instance.new(“ViewportFrame”, ItemFrame)
  49. View.Name = “View”
  50. View.Size = UDim2.new(1,0,1,0)
  51. View.BackgroundTransparency = 1
  52. View.BorderSizePixel = 0
  53. local object = items[i]
  54. local viewportclone = object:Clone()
  55. viewportclone.Parent = View
  56. local cam = Instance.new(“Camera”, viewportclone)
  57. cam.CameraType = Enum.CameraType.Fixed
  58. local objectPosition = object.Position
  59. local cameraPosition = objectPosition + Vector3.new(0,3,0)
  60. cam.CoordinateFrame = CFrame.new(cameraPosition, objectPosition)
  61. View.CurrentCamera = cam
  62. ItemFrame.MouseButton1Down:connect(function()
  63. if items[i]:findFirstChild(“ClickDetector”) then
  64. local cpos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  65. wait(0.05)
  66. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = items[i].CFrame
  67. wait(0.1)
  68. fireclickdetector(items[i].ClickDetector)
  69. wait(0.3)
  70. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = cpos
  71. end
  72. end)
  73. end
  74. end
Tags: robox piggy
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement