-- Example usage local function onNPCInteraction(player, npc) NPC:talk(player) end
-- Functions local function onPlayerJoin(player) -- Welcome message print(player.Name .. " has joined the game.") -- Initialize player to the Parmesan Hub player.Character.HumanoidRootPart.CFrame = CFrame.new(0, 1, 0) -- Assuming the spawn point is at (0,1,0) end Brookhaven RP Parmesan Hub Script
local function onPlayerLeave(player) print(player.Name .. " has left the game.") end -- Example usage local function onNPCInteraction(player