TEXT 38
Untitled Guest on 23rd December 2022 11:29:41 PM
  1. local Rayfield = loadstring(game:HttpGet('https://raw.githubusercontent.com/shlexware/Rayfield/main/source'))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4.         Name = "Host/Admin Panel Recreated",
  5.         LoadingTitle = "Beta V1.14",
  6.         LoadingSubtitle = "by I'm Bobo on YT",
  7.         ConfigurationSaving = {
  8.                 Enabled = false,
  9.                 FolderName = hostadmin, -- Create a custom folder for your hub/game
  10.                 FileName = "admin"
  11.         },
  12.         Discord = {
  13.                 Enabled = false,
  14.                 Invite = "sirius", -- The Discord invite code, do not include discord.gg/
  15.                 RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  16.         },
  17.         KeySystem = false, -- Set this to true to use our key system
  18.         KeySettings = {
  19.                 Title = "Host/Admin Panel Recreated",
  20.                 Subtitle = "Key System",
  21.                 Note = "Join the discord (discord.gg/sirius)",
  22.                 FileName = "SiriusKey",
  23.                 SaveKey = true,
  24.                 GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  25.                 Key = "Hello"
  26.         }
  27. })
  28.  
  29. local Tab = Window:CreateTab("Freeze Player") -- Title, Image
  30. local Section = Tab:CreateSection("Freeze Player")
  31.  
  32. local Input = Tab:CreateInput({
  33.         Name = "Player Name(NOT DISPLAY NAME)",
  34.         PlaceholderText = "Input Player's Username",
  35.         RemoveTextAfterFocusLost = false,
  36.         Callback = function(Text)
  37.                 -- The function that takes place when the input is changed
  38.                 -- The variable (Text) is a string for the value in the text box
  39.         end,
  40. })
  41.  
  42. local Button = Tab:CreateButton({
  43.         Name = "Freeze Player!",
  44.         Callback = function()
  45.                 Rayfield:Notify({
  46.                         Title = "Frozen!",
  47.                         Content = "The Player has been Frozen!",
  48.                         Duration = 6.5,
  49.                         Image = 4483362458,
  50.                         Actions = { -- Notification Buttons
  51.                                 Ignore = {
  52.                                         Name = "Okay!",
  53.                                         Callback = function()
  54.                                                 print("The user tapped Okay!")
  55.                                         end
  56.                                 },
  57.                         },
  58.                 })
  59.         end,
  60. })
  61.  
  62. local Tab = Window:CreateTab("Kick Player") -- Title, Image
  63. local Section = Tab:CreateSection("Kick Player")
  64.  
  65. local Input = Tab:CreateInput({
  66.         Name = "Player Name(NOT DISPLAY NAME)",
  67.         PlaceholderText = "Input Player's Username",
  68.         RemoveTextAfterFocusLost = false,
  69.         Callback = function(Text)
  70.                 -- The function that takes place when the input is changed
  71.                 -- The variable (Text) is a string for the value in the text box
  72.         end,
  73. })
  74.  
  75. local Button = Tab:CreateButton({
  76.         Name = "Kick Player!",
  77.         Callback = function()
  78.                 Rayfield:Notify({
  79.                         Title = "Kicked!",
  80.                         Content = "The Player has been Kicked from the Game!",
  81.                         Duration = 6.5,
  82.                         Image = 4483362458,
  83.                         Actions = { -- Notification Buttons
  84.                                 Ignore = {
  85.                                         Name = "Okay!",
  86.                                         Callback = function()
  87.                                                 print("The user tapped Okay!")
  88.                                         end
  89.                                 },
  90.                         },
  91.                 })
  92.         end,
  93. })
  94.  
  95. local Tab = Window:CreateTab("Ban Player") -- Title, Image
  96. local Section = Tab:CreateSection("Ban Player")
  97.  
  98. local Paragraph = Tab:CreateParagraph({Title = "Warning!", Content = "The Ban feature are way too Blatant, you may going to get a Client Kick by using this!"})
  99.  
  100. local Input = Tab:CreateInput({
  101.         Name = "Player Name(NOT DISPLAY NAME)",
  102.         PlaceholderText = "Input Player's Username",
  103.         RemoveTextAfterFocusLost = false,
  104.         Callback = function(Text)
  105.                 -- The function that takes place when the input is changed
  106.                 -- The variable (Text) is a string for the value in the text box
  107.         end,
  108. })
  109.  
  110. local Button = Tab:CreateButton({
  111.         Name = "Ban Player!",
  112.         Callback = function()
  113.                 Rayfield:Notify({
  114.                         Title = "Banned!",
  115.                         Content = "The Player has been Banned from Bedwars!",
  116.                         Duration = 6.5,
  117.                         Image = 4483362458,
  118.                         Actions = { -- Notification Buttons
  119.                                 Ignore = {
  120.                                         Name = "Okay!",
  121.                                         Callback = function()
  122.                                                 print("The user tapped Okay!")
  123.                                         end
  124.                                 },
  125.                         },
  126.                 })
  127.         end,
  128. })

Text Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.