Advertisement
Elvisfofo_rblx

Server Inspection/Exploitation

Jun 28th, 2025
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.15 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  3. local LocalPlayer = Players.LocalPlayer
  4.  
  5. -- Destroy existing GUI if re-run
  6. if game.CoreGui:FindFirstChild("ServerExploitGUI") then
  7. game.CoreGui:FindFirstChild("ServerExploitGUI"):Destroy()
  8. end
  9.  
  10. -- Create GUI
  11. local gui = Instance.new("ScreenGui", game.CoreGui)
  12. gui.Name = "ServerExploitGUI"
  13. gui.ResetOnSpawn = false
  14.  
  15. -- Drag frame
  16. local dragFrame = Instance.new("Frame", gui)
  17. dragFrame.Size = UDim2.new(0, 400, 0, 350)
  18. dragFrame.Position = UDim2.new(0.3, 0, 0.3, 0)
  19. dragFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 30)
  20. dragFrame.BorderSizePixel = 0
  21. dragFrame.Active = true
  22. dragFrame.Draggable = true
  23.  
  24. -- UICorner for futuristic style
  25. local corner = Instance.new("UICorner", dragFrame)
  26. corner.CornerRadius = UDim.new(0, 16)
  27.  
  28. -- UIStroke for glow
  29. local stroke = Instance.new("UIStroke", dragFrame)
  30. stroke.Thickness = 2
  31. stroke.Color = Color3.fromRGB(0, 255, 255)
  32.  
  33. -- Title
  34. local title = Instance.new("TextLabel", dragFrame)
  35. title.Size = UDim2.new(1, 0, 0, 40)
  36. title.BackgroundTransparency = 1
  37. title.Text = "Server Inspection/Exploitation"
  38. title.TextSize = 24
  39. title.Font = Enum.Font.GothamBold
  40. title.TextColor3 = Color3.fromRGB(0, 255, 255)
  41.  
  42. -- Tabs
  43. local tabHolder = Instance.new("Frame", dragFrame)
  44. tabHolder.Size = UDim2.new(1, 0, 0, 40)
  45. tabHolder.Position = UDim2.new(0, 0, 0, 40)
  46. tabHolder.BackgroundTransparency = 1
  47.  
  48. local remoteTab = Instance.new("TextButton", tabHolder)
  49. remoteTab.Size = UDim2.new(0.5, 0, 1, 0)
  50. remoteTab.Text = "Remote Events"
  51. remoteTab.Font = Enum.Font.Gotham
  52. remoteTab.TextSize = 18
  53. remoteTab.TextColor3 = Color3.fromRGB(255, 255, 255)
  54. remoteTab.BackgroundColor3 = Color3.fromRGB(20, 20, 50)
  55.  
  56. local itemTab = remoteTab:Clone()
  57. itemTab.Text = "Items"
  58. itemTab.Position = UDim2.new(0.5, 0, 0, 0)
  59. itemTab.Parent = tabHolder
  60.  
  61. -- Pages
  62. local remotePage = Instance.new("Frame", dragFrame)
  63. remotePage.Size = UDim2.new(1, -20, 1, -100)
  64. remotePage.Position = UDim2.new(0, 10, 0, 90)
  65. remotePage.BackgroundTransparency = 1
  66.  
  67. local itemPage = remotePage:Clone()
  68. itemPage.Parent = dragFrame
  69. itemPage.Visible = false
  70.  
  71. -- Scroll areas
  72. local remoteScroll = Instance.new("ScrollingFrame", remotePage)
  73. remoteScroll.Size = UDim2.new(1, 0, 1, -50)
  74. remoteScroll.CanvasSize = UDim2.new(0, 0, 0, 0)
  75. remoteScroll.BackgroundTransparency = 1
  76. remoteScroll.ScrollBarThickness = 6
  77.  
  78. local itemScroll = remoteScroll:Clone()
  79. itemScroll.Parent = itemPage
  80.  
  81. -- Username input
  82. local usernameInput = Instance.new("TextBox", itemPage)
  83. usernameInput.Size = UDim2.new(1, 0, 0, 30)
  84. usernameInput.Position = UDim2.new(0, 0, 0, 0)
  85. usernameInput.PlaceholderText = "Username to give items to"
  86. usernameInput.Text = ""
  87. usernameInput.Font = Enum.Font.Gotham
  88. usernameInput.TextSize = 18
  89. usernameInput.TextColor3 = Color3.fromRGB(255,255,255)
  90. usernameInput.BackgroundColor3 = Color3.fromRGB(30, 30, 50)
  91.  
  92. local usernameCorner = Instance.new("UICorner", usernameInput)
  93. usernameCorner.CornerRadius = UDim.new(0, 8)
  94.  
  95. -- Buttons
  96. local rescanRemote = Instance.new("TextButton", remotePage)
  97. rescanRemote.Size = UDim2.new(1, 0, 0, 30)
  98. rescanRemote.Position = UDim2.new(0, 0, 1, -30)
  99. rescanRemote.Text = "Rescan RemoteEvents"
  100. rescanRemote.Font = Enum.Font.GothamBold
  101. rescanRemote.TextSize = 18
  102. rescanRemote.TextColor3 = Color3.fromRGB(0,255,255)
  103. rescanRemote.BackgroundColor3 = Color3.fromRGB(40, 40, 60)
  104.  
  105. local rescanItem = rescanRemote:Clone()
  106. rescanItem.Text = "Scan Items"
  107. rescanItem.Parent = itemPage
  108. rescanItem.Position = UDim2.new(0, 0, 1, -30)
  109.  
  110. -- Switching tabs
  111. remoteTab.MouseButton1Click:Connect(function()
  112. remotePage.Visible = true
  113. itemPage.Visible = false
  114. end)
  115.  
  116. itemTab.MouseButton1Click:Connect(function()
  117. remotePage.Visible = false
  118. itemPage.Visible = true
  119. end)
  120.  
  121. -- Function to create buttons
  122. local function createButton(parent, name, callback)
  123. local btn = Instance.new("TextButton")
  124. btn.Size = UDim2.new(1, -10, 0, 30)
  125. btn.Position = UDim2.new(0, 5, 0, 0)
  126. btn.BackgroundColor3 = Color3.fromRGB(30, 30, 60)
  127. btn.Text = name
  128. btn.Font = Enum.Font.Gotham
  129. btn.TextSize = 16
  130. btn.TextColor3 = Color3.fromRGB(0, 255, 255)
  131. btn.Parent = parent
  132.  
  133. local corner = Instance.new("UICorner", btn)
  134. corner.CornerRadius = UDim.new(0, 6)
  135.  
  136. btn.MouseButton1Click:Connect(callback)
  137. end
  138.  
  139. -- RemoteEvent Scanner
  140. local function scanRemoteEvents()
  141. remoteScroll:ClearAllChildren()
  142. local y = 0
  143. for _, v in pairs(game:GetDescendants()) do
  144. if v:IsA("RemoteEvent") then
  145. createButton(remoteScroll, v:GetFullName(), function()
  146. pcall(function()
  147. v:FireServer()
  148. end)
  149. end).Position = UDim2.new(0, 5, 0, y)
  150. y = y + 35
  151. end
  152. end
  153. remoteScroll.CanvasSize = UDim2.new(0, 0, 0, y)
  154. end
  155. rescanRemote.MouseButton1Click:Connect(scanRemoteEvents)
  156.  
  157. -- Item Scanner
  158. local function scanItems()
  159. itemScroll:ClearAllChildren()
  160. local target = Players:FindFirstChild(usernameInput.Text)
  161. local y = 0
  162. for _, obj in pairs(game:GetDescendants()) do
  163. if obj:IsA("Tool") and not obj:FindFirstAncestorOfClass("Player") then
  164. createButton(itemScroll, obj.Name, function()
  165. local clone = obj:Clone()
  166. if target and target:FindFirstChild("Backpack") then
  167. local success = pcall(function()
  168. clone.Parent = target.Backpack
  169. end)
  170. if not success then
  171. if target.Character and target.Character:FindFirstChild("HumanoidRootPart") then
  172. clone.Parent = workspace
  173. clone.Handle.CFrame = target.Character.HumanoidRootPart.CFrame + Vector3.new(0,2,0)
  174. end
  175. end
  176. else
  177. clone.Parent = LocalPlayer.Backpack
  178. end
  179. end).Position = UDim2.new(0, 5, 0, y)
  180. y = y + 35
  181. end
  182. end
  183. itemScroll.CanvasSize = UDim2.new(0, 0, 0, y)
  184. end
  185. rescanItem.MouseButton1Click:Connect(scanItems)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement