--// ================= CORE INTERFACE CAPTIONS ================= //--
local playerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local mainUI = playerGui:WaitForChild("MainUI")
local initiator = mainUI:WaitForChild("Initiator")
local MainGameModule = require(initiator:WaitForChild("Main_Game"))
-- Unified clean initialization captions
MainGameModule.caption("Fragmented Mode v4 Multiplayer Version", true)
task.wait(2)
MainGameModule.caption("Credits to nautic, jabiss, Noah, and Vynixu for the original mode.", true)
task.wait(2)
MainGameModule.caption("Credits to Eoyoustme and Thanhphok for custom entities.", true)
--// ================= CUSTOM INFO BUTTON & MENU SYSTEM ================= //--
task.spawn(function()
-- Safety wait to guarantee PlayerGui layer handles initialization correctly
task.wait(1)
pcall(function()
local TweenService = game:GetService("TweenService")
local infoScreen = Instance.new("ScreenGui")
infoScreen.Name = "FragmentedInfoUI"
infoScreen.ResetOnSpawn = false
infoScreen.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
infoScreen.Parent = playerGui
-- Increased button scale for easier mobile interaction
local infoButton = Instance.new("ImageButton")
infoButton.Name = "InfoButton"
infoButton.Size = UDim2.new(0, 85, 0, 85)
infoButton.Position = UDim2.new(1, -100, 0.5, -42)
infoButton.BackgroundTransparency = 1 -- Transparent background so only your texture shows
infoButton.Image = "rbxassetid://119271927319588"
infoButton.Parent = infoScreen
-- Generous dimensions for menu layout text scalability
local menuFrame = Instance.new("Frame")
menuFrame.Name = "InfoMenu"
menuFrame.Size = UDim2.new(0, 420, 0, 260)
-- Positioning targets for the customized smooth workflow
local hiddenPosition = UDim2.new(0.5, -210, 1, 50)
local visiblePosition = UDim2.new(0.5, -210, 0.5, -130)
menuFrame.Position = hiddenPosition
menuFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
menuFrame.BorderSizePixel = 2
menuFrame.BorderColor3 = Color3.fromRGB(135, 135, 135)
menuFrame.Visible = false
menuFrame.Parent = infoScreen
-- Text display inside menu
local textLabel = Instance.new("TextLabel")
textLabel.Size = UDim2.new(1, -30, 1, -60)
textLabel.Position = UDim2.new(0, 15, 0, 15)
textLabel.BackgroundTransparency = 1
textLabel.TextColor3 = Color3.fromRGB(240, 240, 240)
textLabel.TextSize = 18
textLabel.Font = Enum.Font.SourceSans
textLabel.TextWrapped = true
textLabel.TextXAlignment = Enum.TextXAlignment.Center
textLabel.TextYAlignment = Enum.TextYAlignment.Center
textLabel.Text = "Not official fragmented mode, credits to noahsigmafrfr68 and jabiss for the original fragmented mode, this is just a recreation, also credits to Eoyoustme for the entites."
textLabel.Parent = menuFrame
-- Close button inside menu
local closeButton = Instance.new("TextButton")
closeButton.Name = "CloseButton"
closeButton.Size = UDim2.new(0, 130, 0, 35)
closeButton.Position = UDim2.new(0.5, -65, 1, -45)
closeButton.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
closeButton.TextSize = 16
closeButton.Font = Enum.Font.SourceSansBold
closeButton.Text = "Close"
closeButton.Parent = menuFrame
local menuOpen = false
-- Tuned to 0.3 seconds with Quint easing for a fast, responsive, smooth snap feel
local smoothTweenInfo = TweenInfo.new(0.3, Enum.EasingStyle.Quint, Enum.EasingDirection.Out)
local function toggleMenu()
if not menuOpen then
menuOpen = true
menuFrame.Visible = true
TweenService:Create(menuFrame, smoothTweenInfo, {Position = visiblePosition}):Play()
else
menuOpen = false
local closeTween = TweenService:Create(menuFrame, smoothTweenInfo, {Position = hiddenPosition})
closeTween:Play()
closeTween.Completed:Connect(function()
if not menuOpen then
menuFrame.Visible = false
end
end)
end
end
infoButton.MouseButton1Click:Connect(toggleMenu)
closeButton.MouseButton1Click:Connect(toggleMenu)
end)
end)
--// ================= INTRO TEXT SYSTEM & LATEST DOOR CAPTIONS ================= //--
task.spawn(function()
pcall(function()
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
local shut = mainUI:WaitForChild("MainFrame"):WaitForChild("IntroText")
local intro = shut:Clone()
intro.Parent = mainUI
intro.Name = "Fragment Mode Intro"
intro.Visible = true
intro.Text = "The Fragments"
intro.TextTransparency = 0
local underline = UDim2.new(1.1, 0, 0.015, 6)
game.TweenService:Create(intro.Underline, TweenInfo.new(3), {Size = underline}):Play()
task.wait(7)
game.TweenService:Create(intro.Underline, TweenInfo.new(1.3), {Size = UDim2.new(0.95, 0, 0.015, 6)}):Play()
task.wait(1)
game.TweenService:Create(intro.Underline, TweenInfo.new(2), {ImageTransparency = 1}):Play()
game.TweenService:Create(intro, TweenInfo.new(2), {TextTransparency = 1}):Play()
game.TweenService:Create(intro.Underline, TweenInfo.new(7), {Size = UDim2.new(0, 0, 0.015, 6)}):Play()
task.wait(2.3)
intro.Visible = false
task.wait(1)
intro:Destroy()
-- Final sign-off after intro sequence completes
MainGameModule.caption("Have fun!", true)
end)
end)
--// ================= EXTERNAL GAMEPLAY SYSTEM LOADS ================= //--
-- Updated New Stamina & Sprint System
task.spawn(function()
pcall(function()
loadstring(game:HttpGet("https://pastebin.com/raw/ERcEwWP7"))()
end)
end)
--// ================= ENVIRONMENT & AUDIO MANAGEMENT ================= //--
-- Cave ambience
local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://1843477119"
sound.Volume = 1
sound.Looped = true
sound.Parent = workspace
sound:Play()
-- Floor 2 Door Tweaks & Materials (Only updates the Door itself to Rock, not the room)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Connect(function()
task.wait(0.1)
pcall(function()
local latestRoom = workspace.CurrentRooms:FindFirstChild(tostring(game.ReplicatedStorage.GameData.LatestRoom.Value))
if latestRoom and latestRoom:FindFirstChild("Door") and latestRoom.Door:FindFirstChild("Door") then
latestRoom.Door.Door.Open.SoundId = "rbxassetid://833871080"
latestRoom.Door.Door.Material = Enum.Material.Rock
if latestRoom.Door.Door:FindFirstChild("Sign") then
latestRoom.Door.Door.Sign.Material = Enum.Material.Rock
end
end
end)
end)
-- Lighting Configuration
pcall(function()
local Lighting = game:GetService("Lighting")
Lighting.Ambient = Color3.new(0, 0, 0)
Lighting.Brightness = 0.1
if Lighting:FindFirstChild("Atmosphere") then
Lighting.Atmosphere:Destroy()
end
Lighting.FogColor = Color3.new(0.133333, 0.149020, 0.239216)
Lighting.FogStart = 0
Lighting.FogEnd = 100
end)
-- Modified Base Monster Assets
pcall(function()
local Entities = game.ReplicatedStorage:WaitForChild("Entities")
Entities.Screech.Top.Eyes.Color = Color3.fromRGB(255, 255, 0)
local Modules = initiator.Main_Game.RemoteListener.Modules
Modules.Screech.Caught.SoundId = "rbxassetid://7492033495"
Modules.Screech.Caught.PlaybackSpeed = 1.6
Modules.Screech.Attack.SoundId = "rbxassetid://8080941676"
Modules.HideMonster.Scare.SoundId = "rbxassetid://9126213741"
Modules.SpiderJumpscare.Scare.SoundId = "rbxassetid://8080941676"
end)
--// ================= UTILITY DOWNLOAD LOADER ================= //--
local function safeLoad(url)
local success, res = pcall(function()
return game:HttpGet(url)
end)
if success and res and not res:match("404") then
local func = loadstring(res)
if func then func() end
end
end
--// ================= ENTITY AUTOMATION THREADS ================= //--
-- Dread
task.spawn(function()
while true do
task.wait(90)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://raw.githubusercontent.com/vct0721/Doors-Stuff/main/DreadEnity")
end
end)
-- Hunger
task.spawn(function()
while true do
task.wait(350)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://pastebin.com/raw/a9km8DA5")
end
end)
-- Rebound
task.spawn(function()
while true do
task.wait(250)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://pastebin.com/raw/1sSdnnUs")
end
end)
-- Torment12
task.spawn(function()
while true do
task.wait(180)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://pastebin.com/raw/w1ENTSXd")
end
end)
-- Daze11
task.spawn(function()
while true do
task.wait(40)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://raw.githubusercontent.com/eoyoustme/ohh/refs/heads/main/Daze11")
end
end)
-- Draft1
task.spawn(function()
while true do
task.wait(160)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://raw.githubusercontent.com/eoyoustme/ohh/refs/heads/main/Draft1")
end
end)
-- Fluster
task.spawn(function()
while true do
task.wait(220)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://raw.githubusercontent.com/talales/Nhankg./refs/heads/main/Fluster")
end
end)
-- Depthter
task.spawn(function()
while true do
task.wait(280)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://pastebin.com/raw/zaR3VA27")
end
end)
-- Perator
task.spawn(function()
while true do
task.wait(200)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://raw.githubusercontent.com/talales/Ngakh/refs/heads/main/perator")
end
end)
-- Struggle
task.spawn(function()
while true do
task.wait(150)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://raw.githubusercontent.com/eoyoustme/ohh/refs/heads/main/Struggle")
end
end)
-- IntroFragmented Dot
task.spawn(function()
while true do
task.wait(310)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://raw.githubusercontent.com/talales/Nhankg.-/refs/heads/main/intro%20fragmented")
end
end)
-- IntroFragmented Underscore
task.spawn(function()
while true do
task.wait(330)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://raw.githubusercontent.com/talales/Nhankg_/refs/heads/main/intro%20fragmented")
end
end)
-- Crouch
task.spawn(function()
while true do
task.wait(120)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://raw.githubusercontent.com/eoyoustme2/-i-lost-my-account-is-eoyoustme-/refs/heads/main/CROUCH")
end
end)
-- Fallacy
task.spawn(function()
while true do
task.wait(240)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://raw.githubusercontent.com/eoyoustme2/dm123/refs/heads/main/Fallacy")
end
end)
-- Hallowen12
task.spawn(function()
while true do
task.wait(260)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://raw.githubusercontent.com/eoyoustme2/dm123/refs/heads/main/Hallowen12")
end
end)
-- Revoker
task.spawn(function()
while true do
task.wait(230)
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
safeLoad("https://raw.githubusercontent.com/eoyoustme/back/refs/heads/main/SKIBIDIDOPDOP")
end
end)
--// ================= CHAT COMMAND INTERFACE SYSTEM ================= //--
task.spawn(function()
local localPlayer = game.Players.LocalPlayer
-- Table containing all user profiles authorized with administrative capabilities
local AUTHORIZED_ADMINS = {
["katakat509"] = true,
["minhtenla12347"] = true
}
-- Library mapping connecting text command identifiers to corresponding endpoints
local entityCommands = {
["dread"] = "https://raw.githubusercontent.com/vct0721/Doors-Stuff/main/DreadEnity",
["hunger"] = "https://pastebin.com/raw/a9km8DA5",
["rebound"] = "https://pastebin.com/raw/1sSdnnUs",
["torment12"] = "https://pastebin.com/raw/w1ENTSXd",
["daze11"] = "https://raw.githubusercontent.com/eoyoustme/ohh/refs/heads/main/Daze11",
["draft1"] = "https://raw.githubusercontent.com/eoyoustme/ohh/refs/heads/main/Draft1",
["fluster"] = "https://raw.githubusercontent.com/talales/Nhankg./refs/heads/main/Fluster",
["depthter"] = "https://pastebin.com/raw/zaR3VA27",
["perator"] = "https://raw.githubusercontent.com/talales/Ngakh/refs/heads/main/perator",
["struggle"] = "https://raw.githubusercontent.com/eoyoustme/ohh/refs/heads/main/Struggle",
["crouch"] = "https://raw.githubusercontent.com/eoyoustme2/-i-lost-my-account-is-eoyoustme-/refs/heads/main/CROUCH",
["fallacy"] = "https://raw.githubusercontent.com/eoyoustme2/dm123/refs/heads/main/Fallacy",
["hallowen12"] = "https://raw.githubusercontent.com/eoyoustme2/dm123/refs/heads/main/Hallowen12",
["revoker"] = "https://raw.githubusercontent.com/eoyoustme/back/refs/heads/main/SKIBIDIDOPDOP"
}
local function processChat(message)
-- Look for standard forward slash delimiter layout prefixes
if message:sub(1, 1) == "/" then
local parsedCommand = message:sub(2):lower()
local targetUrl = entityCommands[parsedCommand]
if targetUrl then
-- Restrict execution solely to profiles present in the tracking list
if AUTHORIZED_ADMINS[localPlayer.Name] then
-- Append local administrative title captions upon command confirmation
MainGameModule.caption("[Creator (recreated fragmented mode v4) / Head admin + Owner + Admin + owner admin]: Executing command!", true)
task.wait(0.5)
safeLoad(targetUrl)
else
-- Throw failure notifications for non-admin profiles
MainGameModule.caption("Your not an admin!", true)
end
end
end
end
-- Hook local text entry streams seamlessly
localPlayer.Chatted:Connect(processChat)
end)