xvc200

banggui

Feb 13th, 2025 (edited)
37,740
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.27 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local character = player.Character or player.CharacterAdded:Wait()
  3. local isR6 = character:FindFirstChild("Torso") ~= nil
  4.  
  5. local function showNotification(message)
  6. local notificationGui = Instance.new("ScreenGui")
  7. notificationGui.Name = "NotificationGui"
  8. notificationGui.Parent = game.CoreGui
  9.  
  10. local notificationFrame = Instance.new("Frame")
  11. notificationFrame.Size = UDim2.new(0, 300, 0, 50)
  12. notificationFrame.Position = UDim2.new(0.5, -150, 1, -60)
  13. notificationFrame.AnchorPoint = Vector2.new(0.5, 1)
  14. notificationFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  15. notificationFrame.BorderSizePixel = 0
  16. notificationFrame.Parent = notificationGui
  17.  
  18. local uicorner = Instance.new("UICorner")
  19. uicorner.CornerRadius = UDim.new(0, 10)
  20. uicorner.Parent = notificationFrame
  21.  
  22. local textLabel = Instance.new("TextLabel")
  23. textLabel.Size = UDim2.new(1, -20, 1, 0)
  24. textLabel.Position = UDim2.new(0, 10, 0, 0)
  25. textLabel.BackgroundTransparency = 1
  26. textLabel.Text = message .. " | by pyst"
  27. textLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  28. textLabel.Font = Enum.Font.SourceSansSemibold
  29. textLabel.TextSize = 18
  30. textLabel.TextXAlignment = Enum.TextXAlignment.Left
  31. textLabel.Parent = notificationFrame
  32.  
  33. notificationFrame.BackgroundTransparency = 1
  34. textLabel.TextTransparency = 1
  35.  
  36. game:GetService("TweenService"):Create(
  37. notificationFrame,
  38. TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out),
  39. {BackgroundTransparency = 0}
  40. ):Play()
  41.  
  42. game:GetService("TweenService"):Create(
  43. textLabel,
  44. TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.Out),
  45. {TextTransparency = 0}
  46. ):Play()
  47.  
  48. task.delay(5, function()
  49. game:GetService("TweenService"):Create(
  50. notificationFrame,
  51. TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.In),
  52. {BackgroundTransparency = 1}
  53. ):Play()
  54.  
  55. game:GetService("TweenService"):Create(
  56. textLabel,
  57. TweenInfo.new(0.5, Enum.EasingStyle.Quint, Enum.EasingDirection.In),
  58. {TextTransparency = 1}
  59. ):Play()
  60.  
  61. task.delay(0.5, function()
  62. notificationGui:Destroy()
  63. end)
  64. end)
  65. end
  66.  
  67. -- Show notification based on rig type
  68. if isR6 then
  69. showNotification("R6 detected")
  70. else
  71. showNotification("R15 detected")
  72. end
  73. --protectUI function by IEnes
  74. function protectUI(sGui)
  75. local function blankfunction(...)
  76. return ...
  77. end
  78.  
  79. local cloneref = cloneref or blankfunction
  80.  
  81. local function SafeGetService(service)
  82. return cloneref(game:GetService(service)) or game:GetService(service)
  83. end
  84.  
  85. local cGUI = SafeGetService("CoreGui")
  86. local rPlr = SafeGetService("Players"):FindFirstChildWhichIsA("Player")
  87. local cGUIProtect = {}
  88. local rService = SafeGetService("RunService")
  89. local lPlr = SafeGetService("Players").LocalPlayer
  90.  
  91. local function NAProtection(inst, var)
  92. if inst then
  93. if var then
  94. inst[var] = "\0"
  95. inst.Archivable = false
  96. else
  97. inst.Name = "\0"
  98. inst.Archivable = false
  99. end
  100. end
  101. end
  102.  
  103. if (get_hidden_gui or gethui) then
  104. local hiddenUI = (get_hidden_gui or gethui)
  105. NAProtection(sGui)
  106. sGui.Parent = hiddenUI()
  107. return sGui
  108. elseif (not is_sirhurt_closure) and (syn and syn.protect_gui) then
  109. NAProtection(sGui)
  110. syn.protect_gui(sGui)
  111. sGui.Parent = cGUI
  112. return sGui
  113. elseif cGUI:FindFirstChildWhichIsA("ScreenGui") then
  114. pcall(function()
  115. for _, v in pairs(sGui:GetDescendants()) do
  116. cGUIProtect[v] = rPlr.Name
  117. end
  118. sGui.DescendantAdded:Connect(function(v)
  119. cGUIProtect[v] = rPlr.Name
  120. end)
  121. cGUIProtect[sGui] = rPlr.Name
  122.  
  123. local meta = getrawmetatable(game)
  124. local tostr = meta.__tostring
  125. setreadonly(meta, false)
  126. meta.__tostring = newcclosure(function(t)
  127. if cGUIProtect[t] and not checkcaller() then
  128. return cGUIProtect[t]
  129. end
  130. return tostr(t)
  131. end)
  132. end)
  133. if not rService:IsStudio() then
  134. local newGui = cGUI:FindFirstChildWhichIsA("ScreenGui")
  135. newGui.DescendantAdded:Connect(function(v)
  136. cGUIProtect[v] = rPlr.Name
  137. end)
  138. for _, v in pairs(sGui:GetChildren()) do
  139. v.Parent = newGui
  140. end
  141. sGui = newGui
  142. end
  143. return sGui
  144. elseif cGUI then
  145. NAProtection(sGui)
  146. sGui.Parent = cGUI
  147. return sGui
  148. elseif lPlr and lPlr:FindFirstChild("PlayerGui") then
  149. NAProtection(sGui)
  150. sGui.Parent = lPlr:FindFirstChild("PlayerGui")
  151. return sGui
  152. else
  153. return nil
  154. end
  155. end
  156. -- Create Screen GUI
  157. local gui = Instance.new("ScreenGui")
  158. gui.Name = "BangGui"
  159. protectUI(gui)
  160.  
  161. -- Main Frame
  162. local mainFrame = Instance.new("Frame")
  163. mainFrame.Size = UDim2.new(0, 300, 0, 300)
  164. mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  165. mainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
  166. mainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  167. mainFrame.BorderSizePixel = 0
  168. mainFrame.Parent = gui
  169.  
  170. local uicorner = Instance.new("UICorner")
  171. uicorner.CornerRadius = UDim.new(0, 20)
  172. uicorner.Parent = mainFrame
  173.  
  174. -- Title
  175. local title = Instance.new("TextLabel")
  176. title.Size = UDim2.new(1, -60, 0, 30)
  177. title.Position = UDim2.new(0, 10, 0, 0)
  178. title.BackgroundTransparency = 1
  179. title.Text = "Choose"
  180. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  181. title.Font = Enum.Font.SourceSansSemibold
  182. title.TextSize = 24
  183. title.TextXAlignment = Enum.TextXAlignment.Left
  184. title.Parent = mainFrame
  185.  
  186. -- Close Button
  187. local closeButton = Instance.new("TextButton")
  188. closeButton.Size = UDim2.new(0, 30, 0, 30)
  189. closeButton.Position = UDim2.new(1, -40, 0, 0)
  190. closeButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  191. closeButton.Text = "X"
  192. closeButton.Font = Enum.Font.SourceSansBold
  193. closeButton.TextSize = 20
  194. closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  195. closeButton.Parent = mainFrame
  196.  
  197. local closeCorner = Instance.new("UICorner")
  198. closeCorner.CornerRadius = UDim.new(0, 10)
  199. closeCorner.Parent = closeButton
  200.  
  201. closeButton.MouseButton1Click:Connect(function()
  202. gui:Destroy()
  203. end)
  204.  
  205. -- Minimize Button
  206. local minimizeButton = Instance.new("TextButton")
  207. minimizeButton.Size = UDim2.new(0, 30, 0, 30)
  208. minimizeButton.Position = UDim2.new(1, -80, 0, 0)
  209. minimizeButton.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
  210. minimizeButton.Text = "-"
  211. minimizeButton.Font = Enum.Font.SourceSansBold
  212. minimizeButton.TextSize = 20
  213. minimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  214. minimizeButton.Parent = mainFrame
  215.  
  216. local minimizeCorner = Instance.new("UICorner")
  217. minimizeCorner.CornerRadius = UDim.new(0, 10)
  218. minimizeCorner.Parent = minimizeButton
  219.  
  220. local minimized = false
  221. minimizeButton.MouseButton1Click:Connect(function()
  222. minimized = not minimized
  223. if minimized then
  224. mainFrame:TweenSize(UDim2.new(0, 300, 0, 30), Enum.EasingDirection.In, Enum.EasingStyle.Quint, 0.5)
  225. else
  226. mainFrame:TweenSize(UDim2.new(0, 300, 0, 300), Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 0.5)
  227. end
  228. end)
  229.  
  230. -- Dragging Functionality
  231. local dragging, dragStart, startPos
  232. mainFrame.InputBegan:Connect(function(input)
  233. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  234. dragging = true
  235. dragStart = input.Position
  236. startPos = mainFrame.Position
  237. end
  238. end)
  239.  
  240. mainFrame.InputChanged:Connect(function(input)
  241. if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  242. local delta = input.Position - dragStart
  243. mainFrame.Position = UDim2.new(
  244. startPos.X.Scale,
  245. startPos.X.Offset + delta.X,
  246. startPos.Y.Scale,
  247. startPos.Y.Offset + delta.Y
  248. )
  249. end
  250. end)
  251.  
  252. mainFrame.InputEnded:Connect(function(input)
  253. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  254. dragging = false
  255. end
  256. end)
  257.  
  258. -- Scrolling Frame
  259. local scrollingFrame = Instance.new("ScrollingFrame")
  260. scrollingFrame.Size = UDim2.new(1, -20, 1, -50)
  261. scrollingFrame.Position = UDim2.new(0, 10, 0, 40)
  262. scrollingFrame.BackgroundTransparency = 1
  263. scrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 300)
  264. scrollingFrame.ScrollBarThickness = 6
  265. scrollingFrame.Parent = mainFrame
  266.  
  267. local layout = Instance.new("UIListLayout")
  268. layout.Padding = UDim.new(0, 10)
  269. layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  270. layout.Parent = scrollingFrame
  271.  
  272. -- Buttons Data
  273. local buttons = {
  274. {name = "Bang V2", r6 = "https://pastebin.com/raw/aPSHMV6K", r15 = "https://pastebin.com/raw/1ePMTt9n"},
  275. {name = "Get Banged", r6 = "https://pastebin.com/raw/zHbw7ND1", r15 = "https://pastebin.com/raw/7hvcjDnW"},
  276. {name = "Suck", r6 = "https://pastebin.com/raw/SymCfnAW", r15 = "https://pastebin.com/raw/p8yxRfr4"},
  277. {name = "Get Suc", r6 = "https://pastebin.com/raw/FPu4e2Qh", r15 = "https://pastebin.com/raw/DyPP2tAF"},
  278. {name = "Jerk", r6 = "https://pastefy.app/wa3v2Vgm/raw", r15 = "https://pastefy.app/YZoglOyJ/raw"}
  279. }
  280.  
  281. for _, buttonData in pairs(buttons) do
  282. local button = Instance.new("TextButton")
  283. button.Size = UDim2.new(0.8, 0, 0, 40)
  284. button.BackgroundColor3 = Color3.fromRGB(50, 150, 255)
  285. button.Text = buttonData.name
  286. button.Font = Enum.Font.SourceSansBold
  287. button.TextSize = 20
  288. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  289. button.Parent = scrollingFrame
  290.  
  291. local uicorner = Instance.new("UICorner")
  292. uicorner.CornerRadius = UDim.new(0, 10)
  293. uicorner.Parent = button
  294.  
  295. button.MouseButton1Click:Connect(function()
  296. if isR6 then
  297. loadstring(game:HttpGet(buttonData.r6))()
  298. else
  299. loadstring(game:HttpGet(buttonData.r15))()
  300. end
  301. end)
  302. end
Advertisement
Add Comment
Please, Sign In to add comment