Advertisement
Lynch93

sc

Mar 18th, 2025 (edited)
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.57 KB | Source Code | 0 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2. local Window = Rayfield:CreateWindow({
  3.    Name = "The $1,000,000 Glass Bridge",
  4.    Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default).
  5.    LoadingTitle = "The $1,000,000 Glass Bridge script",
  6.    LoadingSubtitle = "by lynch93",
  7.    Theme = "Default", -- Check https://docs.sirius.menu/rayfield/configuration/themes
  8.  
  9.    DisableRayfieldPrompts = false,
  10.    DisableBuildWarnings = false, -- Prevents Rayfield from warning when the script has a version mismatch with the interface
  11.  
  12.    ConfigurationSaving = {
  13.       Enabled = false,
  14.       FolderName = nil, -- Create a custom folder for your hub/game
  15.       FileName = "Big Hub"
  16.    },
  17.  
  18.    Discord = {
  19.       Enabled = false, -- Prompt the user to join your Discord server if their executor supports it
  20.       Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ ABCD would be ABCD
  21.       RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  22.    },
  23.  
  24.    KeySystem = false, -- Set this to true to use our key system
  25.    KeySettings = {
  26.       Title = "Untitled",
  27.       Subtitle = "Key System",
  28.       Note = "No method of obtaining the key is provided", -- Use this to tell the user how to get a key
  29.       FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
  30.       SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  31.       GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  32.       Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
  33.    }
  34. })
  35. local Tab = Window:CreateTab("Main", 4483362458) -- Title, Image
  36. local Button = Tab:CreateButton({
  37.    Name = "Esp safe glass",
  38.    Callback = function()
  39. -- Script to highlight all parts inside parents named "VerifyChecks" in the workspace
  40. -- This will add a highlight effect to make them easily visible
  41.  
  42. local function highlightPart(part, parentName)
  43.     -- Create highlight effect
  44.     local highlight = Instance.new("Highlight")
  45.     highlight.FillColor = Color3.fromRGB(0, 255, 0) -- Green fill
  46.     highlight.OutlineColor = Color3.fromRGB(255, 255, 0) -- Yellow outline
  47.     highlight.FillTransparency = 0.5
  48.     highlight.OutlineTransparency = 0
  49.     highlight.Name = "PartInVerifyChecksHighlight"
  50.     highlight.Parent = part
  51.    
  52.     -- Add a billboard GUI with text label for better visibility
  53.     local billboardGui = Instance.new("BillboardGui")
  54.     billboardGui.Name = "PartInVerifyChecksLabel"
  55.     billboardGui.Size = UDim2.new(0, 100, 0, 40)
  56.     billboardGui.StudsOffset = Vector3.new(0, 2, 0)
  57.     billboardGui.AlwaysOnTop = true
  58.     billboardGui.Parent = part
  59.    
  60.     local textLabel = Instance.new("TextLabel")
  61.     textLabel.BackgroundTransparency = 1
  62.     textLabel.Size = UDim2.new(1, 0, 1, 0)
  63.     textLabel.Text = "Safe glass. " .. parentName
  64.     textLabel.TextColor3 = Color3.fromRGB(255, 255, 0)
  65.     textLabel.TextStrokeTransparency = 0
  66.     textLabel.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  67.     textLabel.TextScaled = true
  68.     textLabel.Font = Enum.Font.SourceSansBold
  69.     textLabel.Parent = billboardGui
  70.    
  71.     print("Highlighted part at: " .. tostring(part.Position) .. " in " .. parentName)
  72. end
  73.  
  74. local function findAndHighlightPartsInVerifyChecks()
  75.     local totalParents = 0
  76.     local totalParts = 0
  77.    
  78.     -- Function to search through descendants
  79.     local function searchInWorkspace()
  80.         for _, instance in ipairs(workspace:GetDescendants()) do
  81.             if instance.Name == "VerifyChecks" then
  82.                 totalParents = totalParents + 1
  83.                
  84.                 -- Find all BaseParts inside this VerifyChecks
  85.                 local partsFound = 0
  86.                 for _, child in ipairs(instance:GetDescendants()) do
  87.                     if child:IsA("BasePart") then
  88.                         highlightPart(child, instance:GetFullName())
  89.                         partsFound = partsFound + 1
  90.                         totalParts = totalParts + 1
  91.                     end
  92.                 end
  93.                
  94.                 print("Found " .. partsFound .. " parts in " .. instance:GetFullName())
  95.             end
  96.         end
  97.     end
  98.    
  99.     -- Search through workspace
  100.     searchInWorkspace()
  101.    
  102.     -- Report findings
  103.     if totalParents > 0 then
  104.         print("Found " .. totalParts .. " parts across " .. totalParents .. " VerifyChecks parents.")
  105.     else
  106.         print("No objects named VerifyChecks were found in the workspace.")
  107.        
  108.         -- Create a temporary notification for the player
  109.         local player = game.Players.LocalPlayer
  110.         if player then
  111.             local notification = Instance.new("Message")
  112.             notification.Text = "No VerifyChecks objects found!"
  113.             notification.Parent = player:WaitForChild("PlayerGui")
  114.            
  115.             task.delay(3, function()
  116.                 notification:Destroy()
  117.             end)
  118.         end
  119.     end
  120. end
  121.  
  122. -- Run the search function
  123. findAndHighlightPartsInVerifyChecks()
  124.  
  125. -- Optional: Set up a timer to periodically refresh highlights
  126. -- This is useful if new parts might appear during gameplay
  127. local refreshRate = 30 -- seconds between refreshes
  128. local function startRefreshTimer()
  129.     while true do
  130.         wait(refreshRate)
  131.        
  132.         -- Remove old highlights first
  133.         for _, descendant in pairs(workspace:GetDescendants()) do
  134.             if descendant.Name == "PartInVerifyChecksHighlight" or descendant.Name == "PartInVerifyChecksLabel" then
  135.                 descendant:Destroy()
  136.             end
  137.         end
  138.        
  139.         -- Find and highlight again
  140.         findAndHighlightPartsInVerifyChecks()
  141.     end
  142. end
  143.  
  144. -- Uncomment the next line if you want periodic refreshing
  145. -- task.spawn(startRefreshTimer)
  146.    end,
  147. })
  148. local Button = Tab:CreateButton({
  149.    Name = "Free gears",
  150.    Callback = function()
  151. local args = {
  152.     [1] = game:GetService("Players").LocalPlayer
  153. }
  154.  
  155. game:GetService("ReplicatedStorage"):WaitForChild("FreeGearEvent"):FireServer(unpack(args))
  156.  
  157.    end,
  158. })
  159.  
  160. local Button = Tab:CreateButton({
  161.    Name = "Get money",
  162.    Callback = function()
  163. local args = {
  164.     [1] = game:GetService("Players").LocalPlayer
  165. }
  166.  
  167. game:GetService("ReplicatedStorage"):WaitForChild("GiveClaimMoney"):FireServer(unpack(args))
  168.  
  169.    end,
  170. })
  171.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement