Advertisement
Msizz

shh button

Mar 18th, 2025 (edited)
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. -- fr just a button
  2.  
  3. local G2L = {};
  4.  
  5. G2L["1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"));
  6. G2L["1"]["IgnoreGuiInset"] = true;
  7. G2L["1"]["ScreenInsets"] = Enum.ScreenInsets.DeviceSafeInsets;
  8. G2L["1"]["Name"] = [[DeadRailsThing]];
  9. G2L["1"]["ResetOnSpawn"] = false;
  10.  
  11. G2L["2"] = Instance.new("Frame", G2L["1"]);
  12. G2L["2"]["BorderSizePixel"] = 0;
  13. G2L["2"]["BackgroundColor3"] = Color3.fromRGB(21, 21, 26);
  14. G2L["2"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
  15. G2L["2"]["Size"] = UDim2.new(0, 90, 0, 40);
  16. G2L["2"]["Position"] = UDim2.new(0.5, 0, 0.1, 0);
  17. G2L["2"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  18. G2L["2"]["Name"] = [[Button]];
  19.  
  20. G2L["3"] = Instance.new("UICorner", G2L["2"]);
  21. G2L["3"]["CornerRadius"] = UDim.new(0, 10);
  22.  
  23. G2L["4"] = Instance.new("UIStroke", G2L["2"]);
  24. G2L["4"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
  25. G2L["4"]["Thickness"] = 3;
  26. G2L["4"]["Color"] = Color3.fromRGB(255, 70, 73);
  27.  
  28. G2L["5"] = Instance.new("TextLabel", G2L["2"]);
  29. G2L["5"]["ZIndex"] = 2;
  30. G2L["5"]["BorderSizePixel"] = 0;
  31. G2L["5"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  32. G2L["5"]["TextSize"] = 14;
  33. G2L["5"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.SemiBold, Enum.FontStyle.Normal);
  34. G2L["5"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  35. G2L["5"]["BackgroundTransparency"] = 1;
  36. G2L["5"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
  37. G2L["5"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  38. G2L["5"]["Text"] = [[LockOn]];
  39. G2L["5"]["Name"] = [[Header]];
  40. G2L["5"]["Position"] = UDim2.new(0.5, 0, 0.5, 0);
  41.  
  42. G2L["6"] = Instance.new("ImageButton", G2L["2"]);
  43. G2L["6"]["BorderSizePixel"] = 0;
  44. G2L["6"]["BackgroundColor3"] = Color3.fromRGB(21, 21, 26);
  45. G2L["6"]["Size"] = UDim2.new(1, 0, 1, 0);
  46. G2L["6"]["Name"] = [[Trigger]];
  47. G2L["6"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  48.  
  49. G2L["7"] = Instance.new("UICorner", G2L["6"]);
  50. G2L["7"]["CornerRadius"] = UDim.new(0, 10);
  51.  
  52. return {
  53. ["UI"] = G2L["1"];
  54. ["Button"] = G2L["6"];
  55. ["OutLine"] = G2L["4"];
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement