- local Rayfield = loadstring(game:HttpGet('https://raw.githubusercontent.com/shlexware/Rayfield/main/source'))()
- local Window = Rayfield:CreateWindow({
- Name = "Host/Admin Panel Recreated",
- LoadingTitle = "Beta V1.14",
- LoadingSubtitle = "by I'm Bobo on YT",
- ConfigurationSaving = {
- Enabled = false,
- FolderName = hostadmin, -- Create a custom folder for your hub/game
- FileName = "admin"
- },
- Discord = {
- Enabled = false,
- Invite = "sirius", -- The Discord invite code, do not include discord.gg/
- RememberJoins = true -- Set this to false to make them join the discord every time they load it up
- },
- KeySystem = false, -- Set this to true to use our key system
- KeySettings = {
- Title = "Host/Admin Panel Recreated",
- Subtitle = "Key System",
- Note = "Join the discord (discord.gg/sirius)",
- FileName = "SiriusKey",
- SaveKey = true,
- GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
- Key = "Hello"
- }
- })
- local Tab = Window:CreateTab("Freeze Player") -- Title, Image
- local Section = Tab:CreateSection("Freeze Player")
- local Input = Tab:CreateInput({
- Name = "Player Name(NOT DISPLAY NAME)",
- PlaceholderText = "Input Player's Username",
- RemoveTextAfterFocusLost = false,
- Callback = function(Text)
- -- The function that takes place when the input is changed
- -- The variable (Text) is a string for the value in the text box
- end,
- })
- local Button = Tab:CreateButton({
- Name = "Freeze Player!",
- Callback = function()
- Rayfield:Notify({
- Title = "Frozen!",
- Content = "The Player has been Frozen!",
- Duration = 6.5,
- Image = 4483362458,
- Actions = { -- Notification Buttons
- Ignore = {
- Name = "Okay!",
- Callback = function()
- print("The user tapped Okay!")
- end
- },
- },
- })
- end,
- })
- local Tab = Window:CreateTab("Kick Player") -- Title, Image
- local Section = Tab:CreateSection("Kick Player")
- local Input = Tab:CreateInput({
- Name = "Player Name(NOT DISPLAY NAME)",
- PlaceholderText = "Input Player's Username",
- RemoveTextAfterFocusLost = false,
- Callback = function(Text)
- -- The function that takes place when the input is changed
- -- The variable (Text) is a string for the value in the text box
- end,
- })
- local Button = Tab:CreateButton({
- Name = "Kick Player!",
- Callback = function()
- Rayfield:Notify({
- Title = "Kicked!",
- Content = "The Player has been Kicked from the Game!",
- Duration = 6.5,
- Image = 4483362458,
- Actions = { -- Notification Buttons
- Ignore = {
- Name = "Okay!",
- Callback = function()
- print("The user tapped Okay!")
- end
- },
- },
- })
- end,
- })
- local Tab = Window:CreateTab("Ban Player") -- Title, Image
- local Section = Tab:CreateSection("Ban Player")
- 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!"})
- local Input = Tab:CreateInput({
- Name = "Player Name(NOT DISPLAY NAME)",
- PlaceholderText = "Input Player's Username",
- RemoveTextAfterFocusLost = false,
- Callback = function(Text)
- -- The function that takes place when the input is changed
- -- The variable (Text) is a string for the value in the text box
- end,
- })
- local Button = Tab:CreateButton({
- Name = "Ban Player!",
- Callback = function()
- Rayfield:Notify({
- Title = "Banned!",
- Content = "The Player has been Banned from Bedwars!",
- Duration = 6.5,
- Image = 4483362458,
- Actions = { -- Notification Buttons
- Ignore = {
- Name = "Okay!",
- Callback = function()
- print("The user tapped Okay!")
- end
- },
- },
- })
- end,
- })
Recent Pastes