Skip to content

Instantly share code, notes, and snippets.

@brainboxweird
brainboxweird / disable-forcefield-in-roblox.txt
Last active November 29, 2025 00:39
Roblox script to disable the ForceField. Put in ServerScriptService as a Normal Script.
-- Server Script in ServerScriptService
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
-- Wait for the ForceField to appear
local forceField = character:FindFirstChildOfClass("ForceField")
if forceField then
forceField:Destroy()
end
@brainboxweird
brainboxweird / disable-leaderboard-in-roblox.txt
Created November 27, 2025 00:52
Roblox script to disable the leaderboard. Put in StarterGUI as a LocalScript.
-- LocalScript
local StarterGui = game:GetService("StarterGui")
-- Disable the default player list (leaderboard)
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)
@brainboxweird
brainboxweird / disable-reset-button-in-roblox.txt
Last active November 27, 2025 00:44
Roblox script to disable the reset button. Put in StarterGUI as a LocalScript.
-- LocalScript
local StarterGui = game:GetService("StarterGui")
-- Disable the Reset button in the Roblox menu
StarterGui:SetCore("ResetButtonCallback", false)