SunDrop58

SunDrop Gui

Jan 30th, 2026 (edited)
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.14 KB | None | 0 0
  1. -- Infinite Yield Full GUI (Executor Safe)
  2. -- Credits: SunDrop (TikTok), MarioChey (Roblox)
  3.  
  4. local CoreGui = game:GetService("CoreGui")
  5. local UIS = game:GetService("UserInputService")
  6. local TweenService = game:GetService("TweenService")
  7.  
  8. -- remove old
  9. pcall(function()
  10. CoreGui.InfiniteYieldGUI:Destroy()
  11. end)
  12.  
  13. -- ScreenGui
  14. local gui = Instance.new("ScreenGui")
  15. gui.Name = "InfiniteYieldGUI"
  16. gui.IgnoreGuiInset = true
  17. gui.Parent = CoreGui
  18.  
  19. -- Sounds
  20. local function sound(id, vol)
  21. local s = Instance.new("Sound")
  22. s.SoundId = "rbxassetid://" .. id
  23. s.Volume = vol
  24. s.Parent = gui
  25. return s
  26. end
  27.  
  28. local clickSound = sound(9118828564, 0.6)
  29. local minimizeSound = sound(9118826042, 0.6)
  30. local closeSound = sound(9118827822, 0.6)
  31.  
  32. -- Main Frame
  33. local main = Instance.new("Frame")
  34. main.Size = UDim2.fromScale(0.45, 0.4)
  35. main.Position = UDim2.fromScale(0.275, 0.3)
  36. main.BackgroundColor3 = Color3.fromRGB(20,20,20)
  37. main.BorderSizePixel = 0
  38. main.Parent = gui
  39. Instance.new("UICorner", main).CornerRadius = UDim.new(0,16)
  40.  
  41. -- Auto scale (safe)
  42. local scale = Instance.new("UIScale", main)
  43. scale.Scale = math.clamp(workspace:GetRealPhysicsFPS() / 60, 0.85, 1)
  44.  
  45. -- Open animation
  46. main.Size = UDim2.fromScale(0,0)
  47. TweenService:Create(
  48. main,
  49. TweenInfo.new(0.4, Enum.EasingStyle.Quint),
  50. {Size = UDim2.fromScale(0.45, 0.4)}
  51. ):Play()
  52.  
  53. -- Top bar
  54. local top = Instance.new("Frame")
  55. top.Size = UDim2.fromScale(1, 0.18)
  56. top.BackgroundColor3 = Color3.fromRGB(30,30,30)
  57. top.BorderSizePixel = 0
  58. top.Parent = main
  59. Instance.new("UICorner", top).CornerRadius = UDim.new(0,16)
  60.  
  61. -- Title
  62. local title = Instance.new("TextLabel")
  63. title.Size = UDim2.fromScale(0.7, 1)
  64. title.Position = UDim2.fromScale(0.05, 0)
  65. title.BackgroundTransparency = 1
  66. title.Text = "Infinite Yield"
  67. title.TextColor3 = Color3.new(1,1,1)
  68. title.Font = Enum.Font.GothamBold
  69. title.TextScaled = true
  70. title.TextXAlignment = Enum.TextXAlignment.Left
  71. title.Parent = top
  72.  
  73. -- Buttons
  74. local function topBtn(txt, x)
  75. local b = Instance.new("TextButton")
  76. b.Size = UDim2.fromScale(0.1, 0.7)
  77. b.Position = UDim2.fromScale(x, 0.15)
  78. b.Text = txt
  79. b.Font = Enum.Font.GothamBold
  80. b.TextScaled = true
  81. b.TextColor3 = Color3.new(1,1,1)
  82. b.BackgroundColor3 = Color3.fromRGB(60,60,60)
  83. b.Parent = top
  84. Instance.new("UICorner", b).CornerRadius = UDim.new(0,8)
  85. return b
  86. end
  87.  
  88. local minimize = topBtn("—", 0.78)
  89. local close = topBtn("X", 0.89)
  90. close.BackgroundColor3 = Color3.fromRGB(170,60,60)
  91.  
  92. -- Load button
  93. local load = Instance.new("TextButton")
  94. load.Size = UDim2.fromScale(0.8, 0.28)
  95. load.Position = UDim2.fromScale(0.1, 0.45)
  96. load.BackgroundColor3 = Color3.fromRGB(45,45,45)
  97. load.Text = "Load Infinite Yield"
  98. load.TextColor3 = Color3.new(1,1,1)
  99. load.Font = Enum.Font.GothamBold
  100. load.TextScaled = true
  101. load.Parent = main
  102. Instance.new("UICorner", load).CornerRadius = UDim.new(0,12)
  103.  
  104. -- Credits
  105. local credits = Instance.new("TextLabel")
  106. credits.Size = UDim2.fromScale(1, 0.2)
  107. credits.Position = UDim2.fromScale(0, 0.8)
  108. credits.BackgroundTransparency = 1
  109. credits.Text = "Made by SunDrop (TikTok)\nMarioChey (Roblox)"
  110. credits.TextColor3 = Color3.fromRGB(180,180,180)
  111. credits.Font = Enum.Font.Gotham
  112. credits.TextScaled = true
  113. credits.Parent = main
  114.  
  115. -- Load Infinite Yield
  116. load.MouseButton1Click:Connect(function()
  117. clickSound:Play()
  118. pcall(function()
  119. loadstring(game:HttpGet(
  120. "https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"
  121. ))()
  122. end)
  123. end)
  124.  
  125. -- Minimize
  126. local minimized = false
  127. minimize.MouseButton1Click:Connect(function()
  128. minimizeSound:Play()
  129. minimized = not minimized
  130.  
  131. TweenService:Create(
  132. main,
  133. TweenInfo.new(0.3, Enum.EasingStyle.Quint),
  134. {Size = minimized and UDim2.fromScale(0.45, 0.18) or UDim2.fromScale(0.45, 0.4)}
  135. ):Play()
  136.  
  137. load.Visible = not minimized
  138. credits.Visible = not minimized
  139. end)
  140.  
  141. -- Close
  142. close.MouseButton1Click:Connect(function()
  143. closeSound:Play()
  144. local t = TweenService:Create(
  145. main,
  146. TweenInfo.new(0.3, Enum.EasingStyle.Quint),
  147. {Size = UDim2.fromScale(0,0)}
  148. )
  149. t:Play()
  150. t.Completed:Wait()
  151. gui:Destroy()
  152. end)
  153.  
  154. -- Drag (PC + Mobile)
  155. local dragging, startPos, startInput
  156.  
  157. top.InputBegan:Connect(function(i)
  158. if i.UserInputType == Enum.UserInputType.MouseButton1
  159. or i.UserInputType == Enum.UserInputType.Touch then
  160. dragging = true
  161. startInput = i.Position
  162. startPos = main.Position
  163. end
  164. end)
  165.  
  166. top.InputEnded:Connect(function(i)
  167. if i.UserInputType == Enum.UserInputType.MouseButton1
  168. or i.UserInputType == Enum.UserInputType.Touch then
  169. dragging = false
  170. end
  171. end)
  172.  
  173. UIS.InputChanged:Connect(function(i)
  174. if dragging and (i.UserInputType == Enum.UserInputType.MouseMovement
  175. or i.UserInputType == Enum.UserInputType.Touch) then
  176. local delta = i.Position - startInput
  177. main.Position = UDim2.new(
  178. startPos.X.Scale,
  179. startPos.X.Offset + delta.X,
  180. startPos.Y.Scale,
  181. startPos.Y.Offset + delta.Y
  182. )
  183. end
  184. end)
  185.  
Add Comment
Please, Sign In to add comment