CoiledTom

Bang

Nov 10th, 2025
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.49 KB | None | 0 0
  1. -- GUI Principal
  2. local gui = Instance.new("ScreenGui")
  3. gui.Name = "BangGui"
  4. gui.Parent = game.CoreGui
  5.  
  6. -- Função para mover o frame pela tela
  7. local UserInputService = game:GetService("UserInputService")
  8.  
  9. local function makeDraggable(frame)
  10. local dragging = false
  11. local dragInput, dragStart, startPos
  12.  
  13. frame.InputBegan:Connect(function(input)
  14. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  15. dragging = true
  16. dragStart = input.Position
  17. startPos = frame.Position
  18.  
  19. input.Changed:Connect(function()
  20. if input.UserInputState == Enum.UserInputState.End then
  21. dragging = false
  22. end
  23. end)
  24. end
  25. end)
  26.  
  27. UserInputService.InputChanged:Connect(function(input)
  28. if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  29. local delta = input.Position - dragStart
  30. frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  31. end
  32. end)
  33. end
  34.  
  35. -- Main Frame
  36. local mainFrame = Instance.new("Frame")
  37. mainFrame.Size = UDim2.new(0, 300, 0, 300)
  38. mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  39. mainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  40. mainFrame.BackgroundColor3 = Color3.fromRGB(80, 80, 255)
  41. mainFrame.BorderSizePixel = 0
  42. mainFrame.Active = true
  43. mainFrame.Parent = gui
  44.  
  45. local uicorner = Instance.new("UICorner")
  46. uicorner.CornerRadius = UDim.new(0, 20)
  47. uicorner.Parent = mainFrame
  48.  
  49. -- Título
  50. local title = Instance.new("TextLabel")
  51. title.Size = UDim2.new(1, -60, 0, 30)
  52. title.Position = UDim2.new(0, 10, 0, 0)
  53. title.BackgroundTransparency = 1
  54. title.Text = "🎨 Choose a Script"
  55. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  56. title.Font = Enum.Font.SourceSansBold
  57. title.TextSize = 24
  58. title.TextXAlignment = Enum.TextXAlignment.Left
  59. title.Parent = mainFrame
  60.  
  61. -- Botão Fechar
  62. local closeButton = Instance.new("TextButton")
  63. closeButton.Size = UDim2.new(0, 30, 0, 30)
  64. closeButton.Position = UDim2.new(1, -40, 0, 0)
  65. closeButton.BackgroundColor3 = Color3.fromRGB(255, 100, 100)
  66. closeButton.Text = "X"
  67. closeButton.Font = Enum.Font.SourceSansBold
  68. closeButton.TextSize = 20
  69. closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  70. closeButton.Parent = mainFrame
  71.  
  72. local closeCorner = Instance.new("UICorner")
  73. closeCorner.CornerRadius = UDim.new(0, 10)
  74. closeCorner.Parent = closeButton
  75.  
  76. closeButton.MouseButton1Click:Connect(function()
  77. gui:Destroy()
  78. end)
  79.  
  80. -- Botão Minimizar
  81. local minimizeButton = Instance.new("TextButton")
  82. minimizeButton.Size = UDim2.new(0, 30, 0, 30)
  83. minimizeButton.Position = UDim2.new(1, -80, 0, 0)
  84. minimizeButton.BackgroundColor3 = Color3.fromRGB(255, 200, 0)
  85. minimizeButton.Text = "-"
  86. minimizeButton.Font = Enum.Font.SourceSansBold
  87. minimizeButton.TextSize = 20
  88. minimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  89. minimizeButton.Parent = mainFrame
  90.  
  91. local minimizeCorner = Instance.new("UICorner")
  92. minimizeCorner.CornerRadius = UDim.new(0, 10)
  93. minimizeCorner.Parent = minimizeButton
  94.  
  95. local minimized = false
  96. minimizeButton.MouseButton1Click:Connect(function()
  97. minimized = not minimized
  98. if minimized then
  99. mainFrame:TweenSize(UDim2.new(0, 300, 0, 30), Enum.EasingDirection.In, Enum.EasingStyle.Quint, 0.5)
  100. else
  101. mainFrame:TweenSize(UDim2.new(0, 300, 0, 300), Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 0.5)
  102. end
  103. end)
  104.  
  105. -- Scrolling Frame
  106. local scrollingFrame = Instance.new("ScrollingFrame")
  107. scrollingFrame.Size = UDim2.new(1, -20, 1, -50)
  108. scrollingFrame.Position = UDim2.new(0, 10, 0, 40)
  109. scrollingFrame.BackgroundTransparency = 1
  110. scrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 300)
  111. scrollingFrame.ScrollBarThickness = 6
  112. scrollingFrame.Parent = mainFrame
  113.  
  114. local layout = Instance.new("UIListLayout")
  115. layout.Padding = UDim.new(0, 10)
  116. layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  117. layout.Parent = scrollingFrame
  118.  
  119. -- Botões
  120. local buttons = {
  121. {name = "🎯 Bang V2", r6 = "https://pastebin.com/raw/aPSHMV6K", r15 = "https://pastebin.com/raw/1ePMTt9n"},
  122. {name = "🎉 Get Banged", r6 = "https://pastebin.com/raw/zHbw7ND1", r15 = "https://pastebin.com/raw/7hvcjDnW"},
  123. {name = "💥 Suck", r6 = "https://pastebin.com/raw/SymCfnAW", r15 = "https://pastebin.com/raw/p8yxRfr4"},
  124. {name = "🔥 Get Suc", r6 = "https://pastebin.com/raw/FPu4e2Qh", r15 = "https://pastebin.com/raw/DyPP2tAF"},
  125. {name = "⚡ Jerk", r6 = "https://pastefy.app/wa3v2Vgm/raw", r15 = "https://pastefy.app/YZoglOyJ/raw"}
  126. }
  127.  
  128. for _, buttonData in ipairs(buttons) do
  129. local button = Instance.new("TextButton")
  130. button.Size = UDim2.new(0.8, 0, 0, 40)
  131. button.BackgroundColor3 = Color3.fromRGB(math.random(100, 255), math.random(100, 255), math.random(100, 255))
  132. button.Text = buttonData.name
  133. button.Font = Enum.Font.SourceSansBold
  134. button.TextSize = 20
  135. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  136. button.Parent = scrollingFrame
  137.  
  138. local uicorner = Instance.new("UICorner")
  139. uicorner.CornerRadius = UDim.new(0, 10)
  140. uicorner.Parent = button
  141.  
  142. button.MouseButton1Click:Connect(function()
  143. if isR6 then
  144. loadstring(game:HttpGet(buttonData.r6))()
  145. else
  146. loadstring(game:HttpGet(buttonData.r15))()
  147. end
  148. end)
  149. end
  150.  
  151. -- Ativar o arraste no frame principal
  152. makeDraggable(mainFrame)
Advertisement
Add Comment
Please, Sign In to add comment