local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
Name = "Dada Booga reborn",
Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default).
LoadingTitle = "Booga Booga Reborn",
LoadingSubtitle = "by Dadadfeaa",
Theme = "Default", -- Check https://[Log in to view URL]
DisableRayfieldPrompts = false,
DisableBuildWarnings = false, -- Prevents Rayfield from warning when the script has a version mismatch with the interface
ConfigurationSaving = {
Enabled = true,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "Big Hub"
},
Discord = {
Enabled = false, -- Prompt the user to join your Discord server if their executor supports it
Invite = "noinvitelink", -- 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 = false, -- Set this to true to use our key system
KeySettings = {
Title = "Untitled",
Subtitle = "Key System",
Note = "No method of obtaining the key is provided", -- Use this to tell the user how to get a key
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 = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
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")
}
})
local MainTab = Window:CreateTab("🏠Home", nil) -- Title, Image
local MainSection = MainTab:CreateSection("Main")
Rayfield:Notify({
Title = "You have executed the script",
Content = "Still work in progress",
Duration = 5,
Image = nil,
})
local Button = MainTab:CreateButton({
Name = "Highlight players",
Callback = function()
-- Client-side script (place in StarterPlayerScripts)
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local highlightColor = Color3.fromRGB(0, 255, 0) -- Green highlight, change as desired
local function highlightPlayer(player)
if player == LocalPlayer then return end -- Don't highlight the local player
local character = player.Character
if character and character:FindFirstChild("HumanoidRootPart") then
local humanoidRootPart = character.HumanoidRootPart
-- Check if a highlight already exists
local existingHighlight = humanoidRootPart:FindFirstChild("PlayerHighlight")
if existingHighlight then return end -- Already highlighted
local highlight = Instance.new("Highlight")
highlight.Name = "PlayerHighlight"
highlight.FillColor = highlightColor
highlight.OutlineColor = highlightColor
highlight.Parent = humanoidRootPart
highlight.Adornee = character
end
end
local function removeHighlight(player)
local character = player.Character
if character and character:FindFirstChild("HumanoidRootPart") then
local humanoidRootPart = character.HumanoidRootPart
local highlight = humanoidRootPart:FindFirstChild("PlayerHighlight")
if highlight then
highlight:Destroy()
end
end
end
-- Highlight existing players
for _, player in ipairs(Players:GetPlayers()) do
highlightPlayer(player)
end
-- Connect player added and removed events
Players.PlayerAdded:Connect(highlightPlayer)
Players.PlayerRemoving:Connect(removeHighlight)
--Character Added handling
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
highlightPlayer(player)
end)
end)
-- Character removed handling
Players.PlayerRemoving:Connect(function(player)
player.CharacterRemoving:Connect(function(character)
removeHighlight(player)
end)
end)
end,
})
local Button = MainTab:CreateButton({
Name = "Show Players Name",
Callback = function()
-- Client-side script (place in StarterPlayerScripts)
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local function createUsernameLabel(player)
if player == LocalPlayer then return end -- Don't create label for local player
local character = player.Character
if character and character:FindFirstChild("Head") then
local head = character.Head
local usernameLabel = Instance.new("BillboardGui")
usernameLabel.Name = "UsernameLabel"
usernameLabel.Adornee = head
usernameLabel.Size = UDim2.new(0, 150, 0, 30) -- Smaller size
usernameLabel.StudsOffset = Vector3.new(0, 2.2, 0) -- Adjusted position
usernameLabel.AlwaysOnTop = true
usernameLabel.Parent = head
local textLabel = Instance.new("TextLabel")
textLabel.Size = UDim2.new(1, 0, 1, 0)
textLabel.BackgroundTransparency = 1
textLabel.TextScaled = false -- Disable automatic scaling
textLabel.FontSize = Enum.FontSize.Size14 -- Low font size
textLabel.TextColor3 = Color3.new(1, 1, 1) -- White text
textLabel.Text = player.Name
textLabel.Parent = usernameLabel
textLabel.RichText = true --Allows for more complex text formatting if needed.
end
end
local function removeUsernameLabel(player)
local character = player.Character
if character and character:FindFirstChild("Head") then
local head = character.Head
local usernameLabel = head:FindFirstChild("UsernameLabel")
if usernameLabel then
usernameLabel:Destroy()
end
end
end
-- Create labels for existing players
for _, player in ipairs(Players:GetPlayers()) do
createUsernameLabel(player)
end
-- Connect player added and removed events
Players.PlayerAdded:Connect(createUsernameLabel)
Players.PlayerRemoving:Connect(removeUsernameLabel)
--Character Added handling
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
createUsernameLabel(player)
end)
end)
--Character removed handling
Players.PlayerRemoving:Connect(function(player)
player.CharacterRemoving:Connect(function(character)
removeUsernameLabel(player)
end)
end)
end,
})
local Button = MainTab:CreateButton({
Name = "Increase height",
Callback = function()
local function increaseHeight(player)
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:FindFirstChild("Humanoid")
if humanoid then
local humanoidDescription = humanoid:GetAppliedDescription()
humanoidDescription.HeightScale = humanoidDescription.HeightScale + 2
humanoid:ApplyDescription(humanoidDescription)
else
warn("Humanoid not found for " .. player.Name)
end
end
local function onPlayerAdded(player)
-- Using a callback function here, although in this simple case, it's not strictly necessary.
local callback = function()
increaseHeight(player)
end
-- You could add a delay here, or wait for some other event, if needed.
-- For example: task.wait(5) -- Wait 5 seconds before increasing height
callback() -- Execute the callback function.
end
game.Players.PlayerAdded:Connect(onPlayerAdded)
end,
})
To embed this project on your website, copy the following code and paste it into your website's HTML: