Advertisement
NotExotic

Test

Sep 21st, 2023 (edited)
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2. local Window = Rayfield:CreateWindow({
  3. Name = "Bob UI",
  4. LoadingTitle = "Loading Bob UI",
  5. LoadingSubtitle = "by Bob YT",
  6. ConfigurationSaving = {
  7. Enabled = true,
  8. FolderName = nil, -- Create a custom folder for your hub/game
  9. FileName = "Bob Hub"
  10. },
  11. Discord = {
  12. Enabled = false,
  13. Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
  14. RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  15. },
  16. KeySystem = false, -- Set this to true to use our key system
  17. KeySettings = {
  18. Title = "Untitled",
  19. Subtitle = "Key System",
  20. Note = "No method of obtaining the key is provided",
  21. FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
  22. SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  23. GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  24. 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")
  25. }
  26. })
  27. -- WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
  28. local NatualTab = Window:CreateTab("🏝 Natual Disaster Survival 🏝", nil) -- Title, Image
  29. local NatualSection = NatualTab:CreateSection("🏝 Natual Disaster Survival 🏝")
  30. local OTHERGUITab = Window:CreateTab("🏝 OTHER GUI 🏝", nil) -- Title, Image
  31. local OTHERGUISection = OTHERGUITab:CreateSection("🏝 OTHER GUI 🏝")
  32. local BABFTTab = Window:CreateTab("⛵ Build a Boat ⛵", nil) -- Title, Image
  33. local BABFTSection = BABFTTab:CreateSection("⛵ Build a Boat ⛵")
  34.  
  35. local Button = NatualTab:CreateButton({
  36. Name = "Teleport to Spawn 👍",
  37. Callback = function()
  38. loadstring(game:HttpGet("https://pastebin.com/raw/cWcVVj8X"))()
  39. end,
  40. })
  41.  
  42. local Button = NatualTab:CreateButton({
  43. Name = "Teleport to Island 👍",
  44. Callback = function()
  45. loadstring(game:HttpGet("https://pastebin.com/raw/CZGrS3QP"))()
  46. end,
  47. })
  48.  
  49. local Button = OTHERGUITab:CreateButton({
  50. Name = "OTHER GUI 👍",
  51. Callback = function()
  52. loadstring(game:HttpGet("https://pastebin.com/rKV87Uxp"))()
  53. end,
  54. })
  55.  
  56. local Button = BABFTTab:CreateButton({
  57. Name = "Delete Water 👍",
  58. Callback = function()
  59. -- Reference to the part you want to delete
  60. local waterPart = game.Workspace:FindFirstChild("Water")
  61.  
  62. -- Check if the part exists
  63. if waterPart then
  64. -- Destroy the part
  65. waterPart:Destroy()
  66. print("Water part has been deleted.")
  67. else
  68. print("Water part not found in the workspace.")
  69. end
  70. end,
  71. })
  72.  
  73. Name = "Delete Trees 👍",
  74. Callback = function()
  75. -- Reference to the model you want to delete
  76. local treesModel = game.Workspace:FindFirstChild("Trees")
  77.  
  78. -- Check if the model exists
  79. if treesModel then
  80. -- Destroy the model and its children
  81. treesModel:Destroy()
  82. print("Trees model has been deleted.")
  83. else
  84. print("Trees model not found in the workspace.")
  85. end
  86. end,
  87. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement