local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
Name = "Baseplate Script",
LoadingTitle = "Example Hub",
LoadingSubtitle = "by K4N",
ConfigurationSaving = {
Enabled = true,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "EXAMPLEhub"
},
Discord = {
Enabled = true,
Invite = "jf6wCe3b", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
RememberJoins = true -- Set this to false to make them join the discord every time they load it up
},
KeySystem = true, -- Set this to true to use our key system
KeySettings = {
Title = "K4N Hub [Key]",
Subtitle = "Key System",
Note = "Put Key Here",
FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
GrabKeyFromSite = true, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
Key = {"https://[Log in to view URL]"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
}
})
Rayfield:Notify({
Title = "You have executed this script",
Content = "Pro Gui",
Duration = 5,
Image = nil,
Actions = { -- Notification Buttons
Ignore = {
Name = "Okay!",
Callback = function()
print("The user tapped Okay!")
end
},
},
})
local MainTab = Window:CreateTab("🏠 Home", nil) -- Title, Image
local MainSection = MainTab:CreateSection("Example")
Rayfield:Notify({
Title = "You have executed this script",
Content = "Pro Gui",
Duration = 5,
Image = nil,
Actions = { -- Notification Buttons
Ignore = {
Name = "Okay!",
Callback = function()
print("The user tapped Okay!")
end
},
},
})
local Slider = MainTab:CreateSlider({
Name = "Walkspeed",
Range = {0, 300},
Increment = 1,
Suffix = "Speed",
CurrentValue = 16,
Flag = "Slider1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
Callback = function(Value)
game.Players.LocalPlyaer.Character.Humanoid.WalkSpeed = (Value)
end,
})
local Slider = MainTab:CreateSlider({
Name = "Jump Power Slider",
Range = {0, 500},
Increment = 1,
Suffix = "Jump Power",
CurrentValue = 10,
Flag = "Example", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
Callback = function(Value)
game.Players.LocalPlayer.Character.Humanoid.JumpPower = (Value)
end,
})
local TeleportTab = Window:CreateTab("🏝️Teleports", nil) -- Title, Image
local Section = TeleportTab:CreateSection("Islands")
To embed this project on your website, copy the following code and paste it into your website's HTML: