Advertisement
ERROR_CODE

ResetButtonClose

Dec 2nd, 2023 (edited)
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.93 KB | None | 0 0
  1. for i, v in ipairs(game:GetService("CoreGui").RobloxGui.SettingsClippingShield.SettingsShield.MenuContainer.PageViewClipper.PageView.PageViewInnerFrame.ResetCharacter:GetDescendants()) do
  2.     if v:IsA("ImageLabel") and v:FindFirstChild("NameLabel") then
  3.         if not v.RightSideButtons:FindFirstChild("CopyName") then
  4.             local CopyName = v.RightSideButtons.Inspect:Clone()
  5.             CopyName.Name = "CopyName"
  6.             CopyName.InspectButtonImageLabel.Image = "rbxassetid://12403099678"
  7.            
  8.             CopyName.AutoButtonColor = true
  9.             CopyName.MouseButton1Down:Connect(function()
  10.                 setclipboard(string.sub(v.NameLabel.Text, 2))
  11.             end)
  12.             CopyName.Parent = v.RightSideButtons
  13.             CopyName.InspectButtonImageLabel.Image = "rbxassetid://12403099678"
  14.            
  15.         end
  16.     end
  17. end
  18. --[[game:GetService("Players").PlayerAdded:Connect(function(plr)
  19.     repeat wait() until game:GetService("CoreGui").RobloxGui.SettingsClippingShield.SettingsShield.MenuContainer.PageViewClipper.PageView.PageViewInnerFrame.Players:FindFirstChild("PlayerLabel"..plr.Name)
  20.     for i, v in ipairs(game:GetService("CoreGui").RobloxGui.SettingsClippingShield.SettingsShield.MenuContainer.PageViewClipper.PageView.PageViewInnerFrame.Players:GetDescendants()) do
  21.         if v:IsA("ImageLabel") and v:FindFirstChild("NameLabel") then
  22.             if not v.RightSideButtons:FindFirstChild("CopyName") then
  23.                 local CopyName = v.RightSideButtons.Inspect:Clone()
  24.                 CopyName.Name = "CopyName"
  25.                 CopyName.Image = "rbxassetid://12403099678"
  26.                 CopyName.InspectButtonImageLabel.Image = "rbxassetid://12403099678"
  27.                 --CopyName.Image = "rbxassetid://12403099678"
  28.                 CopyName.Enabled:Destroy()
  29.                 CopyName.AutoButtonColor = true
  30.                 CopyName.MouseButton1Down:Connect(function()
  31.                     setclipboard(string.sub(v.NameLabel.Text, 2))
  32.                 end)
  33.                 CopyName.Parent = v.RightSideButtons
  34.                 CopyName.InspectButtonImageLabel.Image = "rbxassetid://12403099678"
  35.                 --CopyName.Image = "rbxassetid://12403099678"
  36.             end
  37.         end
  38.     end
  39. end)]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement