Meliodas0_0

Untitled

Aug 5th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local opentoggle = Instance.new("ImageButton")
  4. local ImageButton = Instance.new("ImageButton")
  5.  
  6. local plr = game:GetService("Players").LocalPlayer
  7. local garage = plr:WaitForChild("PlayerGui").Garage:GetChildren()
  8.  
  9. -- Properties
  10.  
  11. ScreenGui.Parent = game.CoreGui
  12. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  13.  
  14. Frame.Parent = ScreenGui
  15. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  16. Frame.BackgroundTransparency = 1
  17. Frame.Position = UDim2.new(0, 0, 0.338499993, 0)
  18. Frame.Size = UDim2.new(0.0781660005, 0, 0.323000014, 0)
  19.  
  20. opentoggle.Name = "opentoggle"
  21. opentoggle.Parent = Frame
  22. opentoggle.BackgroundColor3 = Color3.new(1, 1, 1)
  23. opentoggle.BackgroundTransparency = 1
  24. opentoggle.Position = UDim2.new(0, 15, 0.484848499, 0)
  25. opentoggle.Size = UDim2.new(0, 50, 0.24242425, 0)
  26. opentoggle.MouseButton1Click:Connect(function()
  27. for i,v in pairs(garage) do
  28. if v.Name == "Buttons" or v.Name == "ExitGarage" then
  29. v.Visible = true
  30. end
  31. end
  32. end)
  33.  
  34. ImageButton.Parent = ScreenGui
  35. ImageButton.BackgroundColor3 = Color3.new(1, 1, 1)
  36. ImageButton.BackgroundTransparency = 1
  37. ImageButton.Image = ""
  38. ImageButton.Position = UDim2.new(0.5, -100, 0.800000012, -20)
  39. ImageButton.Size = UDim2.new(0, 200, 0, 40)
  40. ImageButton.MouseButton1Click:Connect(function()
  41. local plr = game:GetService("Players").LocalPlayer
  42. local garage = plr:WaitForChild("PlayerGui").Garage:GetChildren()
  43. for i,v in pairs(garage) do
  44. v.Visible = false
  45. toggle = false
  46. end
  47. end)
  48. wait(1.2)
  49. game.StarterGui:SetCore("SendNotification", {
  50. Title = "RedExploit";
  51. Text = "MobileGarage Gamepass Loaded";
  52. Icon = "http://www.roblox.com/asset/?id=2986826763";
  53. Duration = 10;
  54. })
Add Comment
Please, Sign In to add comment