TOTOZ CHEAT
Key Required

TOTOZ CHEAT

[Nightmare] Pocong: Cursed Hospital [Scary Horror]TOTOZindoTOTOZindo 4K views 1.2K executesUpdated Feb 28, 2026
3.0/ 5(5 votes)
3260% Positive
Lua Script•1346 lines (53398 chars)
local Players = game:GetService("Players")
local CoreGui = game:GetService("CoreGui")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Lighting = game:GetService("Lighting")
local LocalPlayer = Players.LocalPlayer

local guiName = "TotozCheatGui"

local function CleanUp()
    if CoreGui:FindFirstChild(guiName) then CoreGui:FindFirstChild(guiName):Destroy() end
    local playerGui = LocalPlayer:FindFirstChild("PlayerGui")
    if playerGui and playerGui:FindFirstChild(guiName) then playerGui:FindFirstChild(guiName):Destroy() end
    pcall(function() RunService:UnbindFromRenderStep("TotozSpeedHack") end)
    
    local function cleanOldESP(folder)
        if folder then
            for _, obj in pairs(folder:GetDescendants()) do
                if obj.Name == "TotozESP_Highlight" or obj.Name == "TotozESP_Text" or obj.Name == "TotozESP_Selection" then
                    obj:Destroy()
                end
            end
        end
    end
    cleanOldESP(workspace:FindFirstChild("CurrencyItems"))
    cleanOldESP(workspace:FindFirstChild("Stages"))
    cleanOldESP(workspace:FindFirstChild("Items"))
    cleanOldESP(workspace:FindFirstChild("PocongModel"))
end
CleanUp()

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = guiName
ScreenGui.ResetOnSpawn = false

local success, _ = pcall(function() ScreenGui.Parent = CoreGui end)
if not success then ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") end

local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
MainFrame.BorderSizePixel = 0
MainFrame.Position = UDim2.new(0.5, -175, 0.5, -125)
MainFrame.Size = UDim2.new(0, 350, 0, 220)
MainFrame.Active = true
MainFrame.Draggable = true

local TopBar = Instance.new("Frame")
TopBar.Name = "TopBar"
TopBar.Parent = MainFrame
TopBar.BackgroundColor3 = Color3.fromRGB(138, 43, 226)
TopBar.BorderSizePixel = 0
TopBar.Size = UDim2.new(1, 0, 0, 35)

local Title = Instance.new("TextLabel")
Title.Name = "Title"
Title.Parent = TopBar
Title.BackgroundTransparency = 1
Title.Size = UDim2.new(1, 0, 1, 0)
Title.Font = Enum.Font.GothamBold
Title.Text = "TOTOZ CHEAT"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextSize = 16

local MinimizeBtn = Instance.new("TextButton")
MinimizeBtn.Name = "MinimizeBtn"
MinimizeBtn.Parent = TopBar
MinimizeBtn.BackgroundTransparency = 1
MinimizeBtn.Position = UDim2.new(1, -35, 0, 0)
MinimizeBtn.Size = UDim2.new(0, 35, 1, 0)
MinimizeBtn.Font = Enum.Font.GothamBold
MinimizeBtn.Text = "-"
MinimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
MinimizeBtn.TextSize = 22

local TabBar = Instance.new("Frame")
TabBar.Name = "TabBar"
TabBar.Parent = MainFrame
TabBar.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
TabBar.BorderSizePixel = 0
TabBar.Position = UDim2.new(0, 0, 0, 35)
TabBar.Size = UDim2.new(1, 0, 0, 30)

local TabListLayout = Instance.new("UIListLayout")
TabListLayout.Parent = TabBar
TabListLayout.FillDirection = Enum.FillDirection.Horizontal
TabListLayout.SortOrder = Enum.SortOrder.LayoutOrder

local function CreateTabBtn(name, text, order)
    local btn = Instance.new("TextButton")
    btn.Name = name
    btn.Parent = TabBar
    btn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
    btn.BorderSizePixel = 0
    btn.Size = UDim2.new(0.3333, 0, 1, 0)
    btn.Font = Enum.Font.GothamBold
    btn.Text = text
    btn.TextColor3 = Color3.fromRGB(180, 180, 180)
    btn.TextSize = 13
    btn.LayoutOrder = order
    return btn
end

local BtnPlayer = CreateTabBtn("BtnPlayer", "Player", 1)
local BtnTeleport = CreateTabBtn("BtnTeleport", "Teleport", 2)
local BtnESP = CreateTabBtn("BtnESP", "ESP", 3)

local ContentContainer = Instance.new("Frame")
ContentContainer.Name = "ContentContainer"
ContentContainer.Parent = MainFrame
ContentContainer.BackgroundTransparency = 1
ContentContainer.Position = UDim2.new(0, 0, 0, 65)
ContentContainer.Size = UDim2.new(1, 0, 1, -65)

local PagePlayer = Instance.new("ScrollingFrame")
PagePlayer.Name = "PagePlayer"
PagePlayer.Parent = ContentContainer
PagePlayer.Size = UDim2.new(1, 0, 1, 0)
PagePlayer.BackgroundTransparency = 1
PagePlayer.Visible = true
PagePlayer.ScrollBarThickness = 4
PagePlayer.CanvasSize = UDim2.new(0, 0, 0, 320)
PagePlayer.BorderSizePixel = 0

local SpeedLabel = Instance.new("TextLabel")
SpeedLabel.Parent = PagePlayer
SpeedLabel.BackgroundTransparency = 1
SpeedLabel.Position = UDim2.new(0, 0, 0, 5)
SpeedLabel.Size = UDim2.new(1, 0, 0, 30)
SpeedLabel.Font = Enum.Font.GothamBold
SpeedLabel.Text = "Kecepatan: 16"
SpeedLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
SpeedLabel.TextSize = 14

local SliderBg = Instance.new("Frame")
SliderBg.Parent = PagePlayer
SliderBg.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
SliderBg.BorderSizePixel = 0
SliderBg.Position = UDim2.new(0.1, 0, 0, 35)
SliderBg.Size = UDim2.new(0.8, 0, 0, 10)

local SliderFill = Instance.new("Frame")
SliderFill.Parent = SliderBg
SliderFill.BackgroundColor3 = Color3.fromRGB(138, 43, 226)
SliderFill.BorderSizePixel = 0
SliderFill.Size = UDim2.new(0, 0, 1, 0)

local SliderKnob = Instance.new("TextButton")
SliderKnob.Parent = SliderFill
SliderKnob.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
SliderKnob.BorderSizePixel = 0
SliderKnob.Position = UDim2.new(1, -5, 0.5, -10)
SliderKnob.Size = UDim2.new(0, 10, 0, 20)
SliderKnob.Text = ""

local FullBrightLabel = Instance.new("TextLabel")
FullBrightLabel.Parent = PagePlayer
FullBrightLabel.BackgroundTransparency = 1
FullBrightLabel.Position = UDim2.new(0.1, 0, 0, 65)
FullBrightLabel.Size = UDim2.new(0.5, 0, 0, 30)
FullBrightLabel.Font = Enum.Font.GothamBold
FullBrightLabel.Text = "Full Bright (Terang):"
FullBrightLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
FullBrightLabel.TextSize = 14
FullBrightLabel.TextXAlignment = Enum.TextXAlignment.Left

local FullBrightToggleBtn = Instance.new("TextButton")
FullBrightToggleBtn.Parent = PagePlayer
FullBrightToggleBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
FullBrightToggleBtn.BorderSizePixel = 0
FullBrightToggleBtn.Position = UDim2.new(0.65, 0, 0, 65)
FullBrightToggleBtn.Size = UDim2.new(0.25, 0, 0, 30)
FullBrightToggleBtn.Font = Enum.Font.GothamBold
FullBrightToggleBtn.Text = "OFF"
FullBrightToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
FullBrightToggleBtn.TextSize = 14

local FotoPocongLabel = Instance.new("TextLabel")
FotoPocongLabel.Parent = PagePlayer
FotoPocongLabel.BackgroundTransparency = 1
FotoPocongLabel.Position = UDim2.new(0.1, 0, 0, 100)
FotoPocongLabel.Size = UDim2.new(0.5, 0, 0, 30)
FotoPocongLabel.Font = Enum.Font.GothamBold
FotoPocongLabel.Text = "Mode Foto Pocong:"
FotoPocongLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
FotoPocongLabel.TextSize = 14
FotoPocongLabel.TextXAlignment = Enum.TextXAlignment.Left

local FotoPocongToggleBtn = Instance.new("TextButton")
FotoPocongToggleBtn.Parent = PagePlayer
FotoPocongToggleBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
FotoPocongToggleBtn.BorderSizePixel = 0
FotoPocongToggleBtn.Position = UDim2.new(0.65, 0, 0, 100)
FotoPocongToggleBtn.Size = UDim2.new(0.25, 0, 0, 30)
FotoPocongToggleBtn.Font = Enum.Font.GothamBold
FotoPocongToggleBtn.Text = "OFF"
FotoPocongToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
FotoPocongToggleBtn.TextSize = 14

local FlyLabel = Instance.new("TextLabel")
FlyLabel.Parent = PagePlayer
FlyLabel.BackgroundTransparency = 1
FlyLabel.Position = UDim2.new(0.1, 0, 0, 135)
FlyLabel.Size = UDim2.new(0.5, 0, 0, 30)
FlyLabel.Font = Enum.Font.GothamBold
FlyLabel.Text = "Fly (Terbang):"
FlyLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
FlyLabel.TextSize = 14
FlyLabel.TextXAlignment = Enum.TextXAlignment.Left

local FlyToggleBtn = Instance.new("TextButton")
FlyToggleBtn.Parent = PagePlayer
FlyToggleBtn.BackgroundColor3 = Color3.fromRGB(138, 43, 226) -- Ubah warna awal ke ON
FlyToggleBtn.BorderSizePixel = 0
FlyToggleBtn.Position = UDim2.new(0.65, 0, 0, 135)
FlyToggleBtn.Size = UDim2.new(0.25, 0, 0, 30)
FlyToggleBtn.Font = Enum.Font.GothamBold
FlyToggleBtn.Text = "ON" -- Ubah text awal ke ON
FlyToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
FlyToggleBtn.TextSize = 14

local NoclipLabel = Instance.new("TextLabel")
NoclipLabel.Parent = PagePlayer
NoclipLabel.BackgroundTransparency = 1
NoclipLabel.Position = UDim2.new(0.1, 0, 0, 170)
NoclipLabel.Size = UDim2.new(0.5, 0, 0, 30)
NoclipLabel.Font = Enum.Font.GothamBold
NoclipLabel.Text = "Noclip (Tembus):"
NoclipLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
NoclipLabel.TextSize = 14
NoclipLabel.TextXAlignment = Enum.TextXAlignment.Left

local NoclipToggleBtn = Instance.new("TextButton")
NoclipToggleBtn.Parent = PagePlayer
NoclipToggleBtn.BackgroundColor3 = Color3.fromRGB(138, 43, 226) -- Ubah warna awal ke ON
NoclipToggleBtn.BorderSizePixel = 0
NoclipToggleBtn.Position = UDim2.new(0.65, 0, 0, 170)
NoclipToggleBtn.Size = UDim2.new(0.25, 0, 0, 30)
NoclipToggleBtn.Font = Enum.Font.GothamBold
NoclipToggleBtn.Text = "ON" -- Ubah text awal ke ON
NoclipToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
NoclipToggleBtn.TextSize = 14

local SembunyiLabel = Instance.new("TextLabel")
SembunyiLabel.Parent = PagePlayer
SembunyiLabel.BackgroundTransparency = 1
SembunyiLabel.Position = UDim2.new(0.1, 0, 0, 205)
SembunyiLabel.Size = UDim2.new(0.5, 0, 0, 30)
SembunyiLabel.Font = Enum.Font.GothamBold
SembunyiLabel.Text = "Sembunyi (Locker):"
SembunyiLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
SembunyiLabel.TextSize = 14
SembunyiLabel.TextXAlignment = Enum.TextXAlignment.Left

local SembunyiToggleBtn = Instance.new("TextButton")
SembunyiToggleBtn.Parent = PagePlayer
SembunyiToggleBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
SembunyiToggleBtn.BorderSizePixel = 0
SembunyiToggleBtn.Position = UDim2.new(0.65, 0, 0, 205)
SembunyiToggleBtn.Size = UDim2.new(0.25, 0, 0, 30)
SembunyiToggleBtn.Font = Enum.Font.GothamBold
SembunyiToggleBtn.Text = "OFF"
SembunyiToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
SembunyiToggleBtn.TextSize = 14

local EvadeModeLabel = Instance.new("TextLabel")
EvadeModeLabel.Parent = PagePlayer
EvadeModeLabel.BackgroundTransparency = 1
EvadeModeLabel.Position = UDim2.new(0.1, 0, 0, 240)
EvadeModeLabel.Size = UDim2.new(0.5, 0, 0, 30)
EvadeModeLabel.Font = Enum.Font.GothamBold
EvadeModeLabel.Text = "Tombol Menghindar:"
EvadeModeLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
EvadeModeLabel.TextSize = 14
EvadeModeLabel.TextXAlignment = Enum.TextXAlignment.Left

local EvadeModeToggleBtn = Instance.new("TextButton")
EvadeModeToggleBtn.Parent = PagePlayer
EvadeModeToggleBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
EvadeModeToggleBtn.BorderSizePixel = 0
EvadeModeToggleBtn.Position = UDim2.new(0.65, 0, 0, 240)
EvadeModeToggleBtn.Size = UDim2.new(0.25, 0, 0, 30)
EvadeModeToggleBtn.Font = Enum.Font.GothamBold
EvadeModeToggleBtn.Text = "OFF"
EvadeModeToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
EvadeModeToggleBtn.TextSize = 14

local FotoActionBtn = Instance.new("TextButton")
FotoActionBtn.Name = "FotoActionBtn"
FotoActionBtn.Parent = ScreenGui 
FotoActionBtn.BackgroundColor3 = Color3.fromRGB(255, 80, 80)
FotoActionBtn.Position = UDim2.new(0.5, -90, 0.8, -40) 
FotoActionBtn.Size = UDim2.new(0, 80, 0, 80)
FotoActionBtn.Font = Enum.Font.GothamBold
FotoActionBtn.Text = "FOTO"
FotoActionBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
FotoActionBtn.TextSize = 20
FotoActionBtn.Visible = false
FotoActionBtn.Active = true
FotoActionBtn.Draggable = true 

local FotoCorner = Instance.new("UICorner")
FotoCorner.CornerRadius = UDim.new(0.5, 0) 
FotoCorner.Parent = FotoActionBtn

local SembunyiActionBtn = Instance.new("TextButton")
SembunyiActionBtn.Name = "SembunyiActionBtn"
SembunyiActionBtn.Parent = ScreenGui
SembunyiActionBtn.BackgroundTransparency = 1 
SembunyiActionBtn.Position = UDim2.new(0.5, 10, 0.8, -45) 
SembunyiActionBtn.Size = UDim2.new(0, 90, 0, 90)
SembunyiActionBtn.Font = Enum.Font.GothamBold
SembunyiActionBtn.Text = "▲"
SembunyiActionBtn.TextColor3 = Color3.fromRGB(0, 180, 255) 
SembunyiActionBtn.TextScaled = true
SembunyiActionBtn.Visible = false
SembunyiActionBtn.Active = true
SembunyiActionBtn.Draggable = true

local SembunyiText = Instance.new("TextLabel")
SembunyiText.Parent = SembunyiActionBtn
SembunyiText.BackgroundTransparency = 1
SembunyiText.Size = UDim2.new(1, 0, 1, 0)
SembunyiText.Position = UDim2.new(0, 0, 0.25, 0) 
SembunyiText.Font = Enum.Font.GothamBold
SembunyiText.Text = "SEMBUNYI"
SembunyiText.TextColor3 = Color3.fromRGB(255, 255, 255)
SembunyiText.TextSize = 13
SembunyiText.TextStrokeTransparency = 0 

local EvadeActionBtn = Instance.new("TextButton")
EvadeActionBtn.Name = "EvadeActionBtn"
EvadeActionBtn.Parent = ScreenGui 
EvadeActionBtn.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
EvadeActionBtn.Position = UDim2.new(0.5, -190, 0.8, -40)
EvadeActionBtn.Size = UDim2.new(0, 80, 0, 80)
EvadeActionBtn.Font = Enum.Font.GothamBold
EvadeActionBtn.Text = "NAIK"
EvadeActionBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
EvadeActionBtn.TextSize = 20
EvadeActionBtn.Visible = false
EvadeActionBtn.Active = true
EvadeActionBtn.Draggable = true 

local EvadeCorner = Instance.new("UICorner")
EvadeCorner.CornerRadius = UDim.new(0.5, 0) 
EvadeCorner.Parent = EvadeActionBtn

local PageTeleport = Instance.new("ScrollingFrame")
PageTeleport.Name = "PageTeleport"
PageTeleport.Parent = ContentContainer
PageTeleport.Size = UDim2.new(1, 0, 1, 0)
PageTeleport.BackgroundTransparency = 1
PageTeleport.Visible = false
PageTeleport.ScrollBarThickness = 4
PageTeleport.CanvasSize = UDim2.new(0, 0, 0, 0)
PageTeleport.AutomaticCanvasSize = Enum.AutomaticSize.Y
PageTeleport.BorderSizePixel = 0

local TeleportLayout = Instance.new("UIListLayout")
TeleportLayout.Parent = PageTeleport
TeleportLayout.SortOrder = Enum.SortOrder.LayoutOrder
TeleportLayout.Padding = UDim.new(0, 5)

local TeleportPadding = Instance.new("UIPadding")
TeleportPadding.Parent = PageTeleport
TeleportPadding.PaddingTop = UDim.new(0, 10)
TeleportPadding.PaddingLeft = UDim.new(0, 10)
TeleportPadding.PaddingRight = UDim.new(0, 10)

local TPStage1DropdownBtn = Instance.new("TextButton")
TPStage1DropdownBtn.Parent = PageTeleport
TPStage1DropdownBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
TPStage1DropdownBtn.BorderSizePixel = 0
TPStage1DropdownBtn.Size = UDim2.new(1, 0, 0, 30)
TPStage1DropdownBtn.Font = Enum.Font.GothamBold
TPStage1DropdownBtn.Text = "▼ Item Stage 1"
TPStage1DropdownBtn.TextColor3 = Color3.fromRGB(200, 200, 200)
TPStage1DropdownBtn.TextSize = 14
TPStage1DropdownBtn.LayoutOrder = 1

local TPStage1Container = Instance.new("Frame")
TPStage1Container.Parent = PageTeleport
TPStage1Container.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
TPStage1Container.BorderSizePixel = 0
TPStage1Container.Size = UDim2.new(1, 0, 0, 0)
TPStage1Container.AutomaticSize = Enum.AutomaticSize.Y
TPStage1Container.Visible = false
TPStage1Container.LayoutOrder = 2

local TPStage1Layout = Instance.new("UIListLayout")
TPStage1Layout.Parent = TPStage1Container
TPStage1Layout.SortOrder = Enum.SortOrder.LayoutOrder
TPStage1Layout.Padding = UDim.new(0, 5)

local TPStage1Padding = Instance.new("UIPadding")
TPStage1Padding.Parent = TPStage1Container
TPStage1Padding.PaddingTop = UDim.new(0, 5)
TPStage1Padding.PaddingBottom = UDim.new(0, 5)
TPStage1Padding.PaddingLeft = UDim.new(0, 15)
TPStage1Padding.PaddingRight = UDim.new(0, 10)

local function CreateTPBtn(parent, text, layoutOrder)
    local btn = Instance.new("TextButton")
    btn.Parent = parent
    btn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
    btn.BorderSizePixel = 0
    btn.Size = UDim2.new(1, 0, 0, 30)
    btn.Font = Enum.Font.GothamBold
    btn.Text = text
    btn.TextColor3 = Color3.fromRGB(255, 255, 255)
    btn.TextSize = 14
    btn.LayoutOrder = layoutOrder
    return btn
end

local TpGlassesBtn = CreateTPBtn(TPStage1Container, "Teleport ke Glasses", 1)
local TpWalletBtn = CreateTPBtn(TPStage1Container, "Teleport ke Wallet", 2)
local TpWristwatchBtn = CreateTPBtn(TPStage1Container, "Teleport ke Wristwatch", 3)
local TpRitualBtn = CreateTPBtn(TPStage1Container, "Teleport ke Meja Ritual", 4)

local TPStage2DropdownBtn = Instance.new("TextButton")
TPStage2DropdownBtn.Parent = PageTeleport
TPStage2DropdownBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
TPStage2DropdownBtn.BorderSizePixel = 0
TPStage2DropdownBtn.Size = UDim2.new(1, 0, 0, 30)
TPStage2DropdownBtn.Font = Enum.Font.GothamBold
TPStage2DropdownBtn.Text = "▼ Item Stage 2"
TPStage2DropdownBtn.TextColor3 = Color3.fromRGB(200, 200, 200)
TPStage2DropdownBtn.TextSize = 14
TPStage2DropdownBtn.LayoutOrder = 3

local TPStage2Container = Instance.new("Frame")
TPStage2Container.Parent = PageTeleport
TPStage2Container.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
TPStage2Container.BorderSizePixel = 0
TPStage2Container.Size = UDim2.new(1, 0, 0, 0)
TPStage2Container.AutomaticSize = Enum.AutomaticSize.Y
TPStage2Container.Visible = false
TPStage2Container.LayoutOrder = 4

local TPStage2Layout = Instance.new("UIListLayout")
TPStage2Layout.Parent = TPStage2Container
TPStage2Layout.SortOrder = Enum.SortOrder.LayoutOrder
TPStage2Layout.Padding = UDim.new(0, 5)

local TPStage2Padding = Instance.new("UIPadding")
TPStage2Padding.Parent = TPStage2Container
TPStage2Padding.PaddingTop = UDim.new(0, 5)
TPStage2Padding.PaddingBottom = UDim.new(0, 5)
TPStage2Padding.PaddingLeft = UDim.new(0, 15)
TPStage2Padding.PaddingRight = UDim.new(0, 10)

local TpClipboardBtn = CreateTPBtn(TPStage2Container, "Teleport ke Clipboard", 1)
local TpIDCardBtn = CreateTPBtn(TPStage2Container, "Teleport ke ID Card", 2)
local TpRedPenBtn = CreateTPBtn(TPStage2Container, "Teleport ke Red Pen", 3)
local TpRitual2Btn = CreateTPBtn(TPStage2Container, "Teleport ke Meja Ritual 2", 4)

local TPStage3DropdownBtn = Instance.new("TextButton")
TPStage3DropdownBtn.Parent = PageTeleport
TPStage3DropdownBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
TPStage3DropdownBtn.BorderSizePixel = 0
TPStage3DropdownBtn.Size = UDim2.new(1, 0, 0, 30)
TPStage3DropdownBtn.Font = Enum.Font.GothamBold
TPStage3DropdownBtn.Text = "▼ Item Stage 3"
TPStage3DropdownBtn.TextColor3 = Color3.fromRGB(200, 200, 200)
TPStage3DropdownBtn.TextSize = 14
TPStage3DropdownBtn.LayoutOrder = 5

local TPStage3Container = Instance.new("Frame")
TPStage3Container.Parent = PageTeleport
TPStage3Container.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
TPStage3Container.BorderSizePixel = 0
TPStage3Container.Size = UDim2.new(1, 0, 0, 0)
TPStage3Container.AutomaticSize = Enum.AutomaticSize.Y
TPStage3Container.Visible = false
TPStage3Container.LayoutOrder = 6

local TPStage3Layout = Instance.new("UIListLayout")
TPStage3Layout.Parent = TPStage3Container
TPStage3Layout.SortOrder = Enum.SortOrder.LayoutOrder
TPStage3Layout.Padding = UDim.new(0, 5)

local TPStage3Padding = Instance.new("UIPadding")
TPStage3Padding.Parent = TPStage3Container
TPStage3Padding.PaddingTop = UDim.new(0, 5)
TPStage3Padding.PaddingBottom = UDim.new(0, 5)
TPStage3Padding.PaddingLeft = UDim.new(0, 15)
TPStage3Padding.PaddingRight = UDim.new(0, 10)

local TpMedRepABtn = CreateTPBtn(TPStage3Container, "Teleport ke Medical Report A", 1)
local TpMedRepBBtn = CreateTPBtn(TPStage3Container, "Teleport ke Medical Report B", 2)
local TpMedRepCBtn = CreateTPBtn(TPStage3Container, "Teleport ke Medical Report C", 3)
local TpRitual3Btn = CreateTPBtn(TPStage3Container, "Teleport ke Meja Ritual 3", 4)

local PageESP = Instance.new("ScrollingFrame")
PageESP.Name = "PageESP"
PageESP.Parent = ContentContainer
PageESP.Size = UDim2.new(1, 0, 1, 0)
PageESP.BackgroundTransparency = 1
PageESP.Visible = false
PageESP.ScrollBarThickness = 4
PageESP.CanvasSize = UDim2.new(0, 0, 0, 0)
PageESP.AutomaticCanvasSize = Enum.AutomaticSize.Y
PageESP.BorderSizePixel = 0

local ESPLayout = Instance.new("UIListLayout")
ESPLayout.Parent = PageESP
ESPLayout.SortOrder = Enum.SortOrder.LayoutOrder
ESPLayout.Padding = UDim.new(0, 5)

local ESPPadding = Instance.new("UIPadding")
ESPPadding.Parent = PageESP
ESPPadding.PaddingTop = UDim.new(0, 10)
ESPPadding.PaddingLeft = UDim.new(0, 10)
ESPPadding.PaddingRight = UDim.new(0, 10)

local function CreateToggleUI(parent, text, layoutOrder, isDefaultOn)
    local frame = Instance.new("Frame")
    frame.Parent = parent
    frame.BackgroundTransparency = 1
    frame.Size = UDim2.new(1, 0, 0, 30)
    frame.LayoutOrder = layoutOrder

    local label = Instance.new("TextLabel")
    label.Parent = frame
    label.BackgroundTransparency = 1
    label.Size = UDim2.new(0.6, 0, 1, 0)
    label.Font = Enum.Font.GothamBold
    label.Text = text
    label.TextColor3 = Color3.fromRGB(255, 255, 255)
    label.TextSize = 14
    label.TextXAlignment = Enum.TextXAlignment.Left

    local toggleBtn = Instance.new("TextButton")
    toggleBtn.Parent = frame
    toggleBtn.BackgroundColor3 = isDefaultOn and Color3.fromRGB(138, 43, 226) or Color3.fromRGB(50, 50, 50)
    toggleBtn.BorderSizePixel = 0
    toggleBtn.Position = UDim2.new(0.7, 0, 0, 0)
    toggleBtn.Size = UDim2.new(0.3, 0, 1, 0)
    toggleBtn.Font = Enum.Font.GothamBold
    toggleBtn.Text = isDefaultOn and "ON" or "OFF"
    toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
    toggleBtn.TextSize = 14

    return toggleBtn
end

local CoinESPToggle = CreateToggleUI(PageESP, "ESP Coin (Koin)", 1, true)
local PocongESPToggle = CreateToggleUI(PageESP, "ESP Pocong", 2, true)

local Stage1DropdownBtn = Instance.new("TextButton")
Stage1DropdownBtn.Parent = PageESP
Stage1DropdownBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Stage1DropdownBtn.BorderSizePixel = 0
Stage1DropdownBtn.Size = UDim2.new(1, 0, 0, 30)
Stage1DropdownBtn.Font = Enum.Font.GothamBold
Stage1DropdownBtn.Text = "▼ Stage 1 Items"
Stage1DropdownBtn.TextColor3 = Color3.fromRGB(200, 200, 200)
Stage1DropdownBtn.TextSize = 14
Stage1DropdownBtn.LayoutOrder = 3

local Stage1Container = Instance.new("Frame")
Stage1Container.Parent = PageESP
Stage1Container.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
Stage1Container.BorderSizePixel = 0
Stage1Container.Size = UDim2.new(1, 0, 0, 0)
Stage1Container.AutomaticSize = Enum.AutomaticSize.Y
Stage1Container.Visible = false
Stage1Container.LayoutOrder = 4

local Stage1Layout = Instance.new("UIListLayout")
Stage1Layout.Parent = Stage1Container
Stage1Layout.SortOrder = Enum.SortOrder.LayoutOrder
Stage1Layout.Padding = UDim.new(0, 5)

local Stage1Padding = Instance.new("UIPadding")
Stage1Padding.Parent = Stage1Container
Stage1Padding.PaddingTop = UDim.new(0, 5)
Stage1Padding.PaddingBottom = UDim.new(0, 5)
Stage1Padding.PaddingLeft = UDim.new(0, 15)
Stage1Padding.PaddingRight = UDim.new(0, 10)

local GlassesToggle = CreateToggleUI(Stage1Container, "ESP Glasses", 1, true)
local WalletToggle = CreateToggleUI(Stage1Container, "ESP Wallet", 2, true)
local WristwatchToggle = CreateToggleUI(Stage1Container, "ESP Wristwatch", 3, true)
local RitualToggle = CreateToggleUI(Stage1Container, "ESP Meja Ritual", 4, true)

local Stage2DropdownBtn = Instance.new("TextButton")
Stage2DropdownBtn.Parent = PageESP
Stage2DropdownBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Stage2DropdownBtn.BorderSizePixel = 0
Stage2DropdownBtn.Size = UDim2.new(1, 0, 0, 30)
Stage2DropdownBtn.Font = Enum.Font.GothamBold
Stage2DropdownBtn.Text = "▼ Stage 2 Items"
Stage2DropdownBtn.TextColor3 = Color3.fromRGB(200, 200, 200)
Stage2DropdownBtn.TextSize = 14
Stage2DropdownBtn.LayoutOrder = 5

local Stage2Container = Instance.new("Frame")
Stage2Container.Parent = PageESP
Stage2Container.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
Stage2Container.BorderSizePixel = 0
Stage2Container.Size = UDim2.new(1, 0, 0, 0)
Stage2Container.AutomaticSize = Enum.AutomaticSize.Y
Stage2Container.Visible = false
Stage2Container.LayoutOrder = 6

local Stage2Layout = Instance.new("UIListLayout")
Stage2Layout.Parent = Stage2Container
Stage2Layout.SortOrder = Enum.SortOrder.LayoutOrder
Stage2Layout.Padding = UDim.new(0, 5)

local Stage2Padding = Instance.new("UIPadding")
Stage2Padding.Parent = Stage2Container
Stage2Padding.PaddingTop = UDim.new(0, 5)
Stage2Padding.PaddingBottom = UDim.new(0, 5)
Stage2Padding.PaddingLeft = UDim.new(0, 15)
Stage2Padding.PaddingRight = UDim.new(0, 10)

local ClipboardToggle = CreateToggleUI(Stage2Container, "ESP Clipboard", 1, true)
local IDCardToggle = CreateToggleUI(Stage2Container, "ESP ID Card", 2, true)
local RedPenToggle = CreateToggleUI(Stage2Container, "ESP Red Pen", 3, true)
local Ritual2Toggle = CreateToggleUI(Stage2Container, "ESP Meja Ritual 2", 4, true)

local Stage3DropdownBtn = Instance.new("TextButton")
Stage3DropdownBtn.Parent = PageESP
Stage3DropdownBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Stage3DropdownBtn.BorderSizePixel = 0
Stage3DropdownBtn.Size = UDim2.new(1, 0, 0, 30)
Stage3DropdownBtn.Font = Enum.Font.GothamBold
Stage3DropdownBtn.Text = "▼ Stage 3 Items"
Stage3DropdownBtn.TextColor3 = Color3.fromRGB(200, 200, 200)
Stage3DropdownBtn.TextSize = 14
Stage3DropdownBtn.LayoutOrder = 7

local Stage3Container = Instance.new("Frame")
Stage3Container.Parent = PageESP
Stage3Container.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
Stage3Container.BorderSizePixel = 0
Stage3Container.Size = UDim2.new(1, 0, 0, 0)
Stage3Container.AutomaticSize = Enum.AutomaticSize.Y
Stage3Container.Visible = false
Stage3Container.LayoutOrder = 8

local Stage3Layout = Instance.new("UIListLayout")
Stage3Layout.Parent = Stage3Container
Stage3Layout.SortOrder = Enum.SortOrder.LayoutOrder
Stage3Layout.Padding = UDim.new(0, 5)

local Stage3Padding = Instance.new("UIPadding")
Stage3Padding.Parent = Stage3Container
Stage3Padding.PaddingTop = UDim.new(0, 5)
Stage3Padding.PaddingBottom = UDim.new(0, 5)
Stage3Padding.PaddingLeft = UDim.new(0, 15)
Stage3Padding.PaddingRight = UDim.new(0, 10)

local MedRepAToggle = CreateToggleUI(Stage3Container, "ESP Medical Report A", 1, true)
local MedRepBToggle = CreateToggleUI(Stage3Container, "ESP Medical Report B", 2, true)
local MedRepCToggle = CreateToggleUI(Stage3Container, "ESP Medical Report C", 3, true)
local Ritual3Toggle = CreateToggleUI(Stage3Container, "ESP Meja Ritual 3", 4, true)

local isMinimized = false
MinimizeBtn.MouseButton1Click:Connect(function()
    isMinimized = not isMinimized
    if isMinimized then
        TabBar.Visible = false
        ContentContainer.Visible = false
        MainFrame.Size = UDim2.new(0, 350, 0, 35)
        MinimizeBtn.Text = "+"
    else
        TabBar.Visible = true
        ContentContainer.Visible = true
        MainFrame.Size = UDim2.new(0, 350, 0, 220)
        MinimizeBtn.Text = "-"
    end
end)

local function SwitchTab(activeBtn, activePage)
    BtnPlayer.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
    BtnTeleport.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
    BtnESP.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
    
    PagePlayer.Visible = false
    PageTeleport.Visible = false
    PageESP.Visible = false

    activeBtn.BackgroundColor3 = Color3.fromRGB(110, 60, 180)
    activePage.Visible = true
end

BtnPlayer.MouseButton1Click:Connect(function() SwitchTab(BtnPlayer, PagePlayer) end)
BtnTeleport.MouseButton1Click:Connect(function() SwitchTab(BtnTeleport, PageTeleport) end)
BtnESP.MouseButton1Click:Connect(function() SwitchTab(BtnESP, PageESP) end)
SwitchTab(BtnPlayer, PagePlayer)

local isStage1Open = false
Stage1DropdownBtn.MouseButton1Click:Connect(function()
    isStage1Open = not isStage1Open
    Stage1Container.Visible = isStage1Open
    Stage1DropdownBtn.Text = isStage1Open and "▲ Stage 1 Items" or "▼ Stage 1 Items"
end)

local isTPStage1Open = false
TPStage1DropdownBtn.MouseButton1Click:Connect(function()
    isTPStage1Open = not isTPStage1Open
    TPStage1Container.Visible = isTPStage1Open
    TPStage1DropdownBtn.Text = isTPStage1Open and "▲ Item Stage 1" or "▼ Item Stage 1"
end)

local isStage2Open = false
Stage2DropdownBtn.MouseButton1Click:Connect(function()
    isStage2Open = not isStage2Open
    Stage2Container.Visible = isStage2Open
    Stage2DropdownBtn.Text = isStage2Open and "▲ Stage 2 Items" or "▼ Stage 2 Items"
end)

local isTPStage2Open = false
TPStage2DropdownBtn.MouseButton1Click:Connect(function()
    isTPStage2Open = not isTPStage2Open
    TPStage2Container.Visible = isTPStage2Open
    TPStage2DropdownBtn.Text = isTPStage2Open and "▲ Item Stage 2" or "▼ Item Stage 2"
end)

local isStage3Open = false
Stage3DropdownBtn.MouseButton1Click:Connect(function()
    isStage3Open = not isStage3Open
    Stage3Container.Visible = isStage3Open
    Stage3DropdownBtn.Text = isStage3Open and "▲ Stage 3 Items" or "▼ Stage 3 Items"
end)

local isTPStage3Open = false
TPStage3DropdownBtn.MouseButton1Click:Connect(function()
    isTPStage3Open = not isTPStage3Open
    TPStage3Container.Visible = isTPStage3Open
    TPStage3DropdownBtn.Text = isTPStage3Open and "▲ Item Stage 3" or "▼ Item Stage 3"
end)

local minSpeed, maxSpeed, currentSpeed = 16, 250, 80 -- Ubah default speed ke 80
local isDragging = false
local isFullBright = false
local isFotoMode = false
local isFly = true -- Ubah default fly ke true
local isNoclip = true -- Ubah default noclip ke true
local isSembunyiMode = false
local isEvadeBtnVisible = false
local isEvading = false
local savedEvadeCFrame = nil
local evadePlatform = nil
local originalLighting = {
    Brightness = Lighting.Brightness, ClockTime = Lighting.ClockTime,
    FogEnd = Lighting.FogEnd, GlobalShadows = Lighting.GlobalShadows,
    Ambient = Lighting.Ambient, OutdoorAmbient = Lighting.OutdoorAmbient
}

local function UpdateSlider(input)
    local pos = math.clamp((input.Position.X - SliderBg.AbsolutePosition.X) / SliderBg.AbsoluteSize.X, 0, 1)
    SliderFill.Size = UDim2.new(pos, 0, 1, 0)
    currentSpeed = math.floor(minSpeed + ((maxSpeed - minSpeed) * pos))
    SpeedLabel.Text = "Kecepatan: " .. tostring(currentSpeed)
end

-- Inisialisasi tampilan slider awal (untuk kecepatan 80)
local initialPos = (80 - minSpeed) / (maxSpeed - minSpeed)
SliderFill.Size = UDim2.new(initialPos, 0, 1, 0)
SpeedLabel.Text = "Kecepatan: 80"

SliderKnob.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then isDragging = true end
end)
SliderBg.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then isDragging = true; UpdateSlider(input) end
end)
UserInputService.InputEnded:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then isDragging = false end
end)
UserInputService.InputChanged:Connect(function(input)
    if isDragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then UpdateSlider(input) end
end)

FullBrightToggleBtn.MouseButton1Click:Connect(function()
    isFullBright = not isFullBright
    if isFullBright then
        FullBrightToggleBtn.Text = "ON"
        FullBrightToggleBtn.BackgroundColor3 = Color3.fromRGB(138, 43, 226)
    else
        FullBrightToggleBtn.Text = "OFF"
        FullBrightToggleBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
        Lighting.Brightness = originalLighting.Brightness
        Lighting.ClockTime = originalLighting.ClockTime
        Lighting.FogEnd = originalLighting.FogEnd
        Lighting.GlobalShadows = originalLighting.GlobalShadows
        Lighting.Ambient = originalLighting.Ambient
        Lighting.OutdoorAmbient = originalLighting.OutdoorAmbient
    end
end)

FotoPocongToggleBtn.MouseButton1Click:Connect(function()
    isFotoMode = not isFotoMode
    if isFotoMode then
        FotoPocongToggleBtn.Text = "ON"
        FotoPocongToggleBtn.BackgroundColor3 = Color3.fromRGB(138, 43, 226)
        FotoActionBtn.Visible = true 
    else
        FotoPocongToggleBtn.Text = "OFF"
        FotoPocongToggleBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
        FotoActionBtn.Visible = false 
    end
end)

FlyToggleBtn.MouseButton1Click:Connect(function()
    isFly = not isFly
    if isFly then
        FlyToggleBtn.Text = "ON"
        FlyToggleBtn.BackgroundColor3 = Color3.fromRGB(138, 43, 226)
    else
        FlyToggleBtn.Text = "OFF"
        FlyToggleBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
        
        local char = LocalPlayer.Character
        if char and char:FindFirstChild("HumanoidRootPart") then
            local hrp = char.HumanoidRootPart
            if hrp:FindFirstChild("TotozFlyBV") then hrp.TotozFlyBV:Destroy() end
            if hrp:FindFirstChild("TotozFlyBG") then hrp.TotozFlyBG:Destroy() end
        end
    end
end)

NoclipToggleBtn.MouseButton1Click:Connect(function()
    isNoclip = not isNoclip
    if isNoclip then
        NoclipToggleBtn.Text = "ON"
        NoclipToggleBtn.BackgroundColor3 = Color3.fromRGB(138, 43, 226)
    else
        NoclipToggleBtn.Text = "OFF"
        NoclipToggleBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
    end
end)

SembunyiToggleBtn.MouseButton1Click:Connect(function()
    isSembunyiMode = not isSembunyiMode
    if isSembunyiMode then
        SembunyiToggleBtn.Text = "ON"
        SembunyiToggleBtn.BackgroundColor3 = Color3.fromRGB(138, 43, 226)
        SembunyiActionBtn.Visible = true 
    else
        SembunyiToggleBtn.Text = "OFF"
        SembunyiToggleBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
        SembunyiActionBtn.Visible = false 
    end
end)

EvadeModeToggleBtn.MouseButton1Click:Connect(function()
    isEvadeBtnVisible = not isEvadeBtnVisible
    if isEvadeBtnVisible then
        EvadeModeToggleBtn.Text = "ON"
        EvadeModeToggleBtn.BackgroundColor3 = Color3.fromRGB(138, 43, 226)
        EvadeActionBtn.Visible = true 
    else
        EvadeModeToggleBtn.Text = "OFF"
        EvadeModeToggleBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
        EvadeActionBtn.Visible = false 
        
        if isEvading then
            isEvading = false
            EvadeActionBtn.Text = "NAIK"
            EvadeActionBtn.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
            local char = LocalPlayer.Character
            if char and savedEvadeCFrame then
                char:PivotTo(savedEvadeCFrame)
                savedEvadeCFrame = nil
            end
            if evadePlatform then
                evadePlatform:Destroy()
                evadePlatform = nil
            end
        end
    end
end)

EvadeActionBtn.MouseButton1Click:Connect(function()
    local char = LocalPlayer.Character
    local hrp = char and char:FindFirstChild("HumanoidRootPart")
    if not hrp then return end

    if not isEvading then
        isEvading = true
        EvadeActionBtn.Text = "TURUN"
        EvadeActionBtn.BackgroundColor3 = Color3.fromRGB(40, 180, 40)
        
        savedEvadeCFrame = hrp.CFrame
        local targetCFrame = savedEvadeCFrame + Vector3.new(0, 100, 0)
        
        if evadePlatform then evadePlatform:Destroy() end
        evadePlatform = Instance.new("Part")
        evadePlatform.Name = "TotozEvadePlatform"
        evadePlatform.Size = Vector3.new(15, 1, 15)
        evadePlatform.Anchored = true
        evadePlatform.Transparency = 0.5
        evadePlatform.Material = Enum.Material.ForceField
        evadePlatform.Color = Color3.fromRGB(138, 43, 226)
        evadePlatform.CFrame = targetCFrame - Vector3.new(0, 3, 0)
        evadePlatform.Parent = workspace

        char:PivotTo(targetCFrame)
    else
        isEvading = false
        EvadeActionBtn.Text = "NAIK"
        EvadeActionBtn.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
        
        if savedEvadeCFrame then
            char:PivotTo(savedEvadeCFrame)
            savedEvadeCFrame = nil
        end
        if evadePlatform then
            evadePlatform:Destroy()
            evadePlatform = nil
        end
    end
end)

FotoActionBtn.MouseButton1Click:Connect(function()
    local pocong = workspace:FindFirstChild("PocongModel")
    if pocong then
        local pocongPart = pocong.PrimaryPart or pocong:FindFirstChildWhichIsA("BasePart", true)
        local char = LocalPlayer.Character
        
        if pocongPart and char and char:FindFirstChild("HumanoidRootPart") then
            local hrp = char.HumanoidRootPart
            local offsetCFrame = pocongPart.CFrame * CFrame.new(0, 0, 22)
            local targetPos = Vector3.new(offsetCFrame.Position.X, pocongPart.Position.Y + 3, offsetCFrame.Position.Z)
            
            hrp.CFrame = CFrame.new(targetPos, pocongPart.Position)
            task.wait(0.2)
            
            local cam = workspace.CurrentCamera
            cam.CFrame = CFrame.new(cam.CFrame.Position, pocongPart.Position)
            task.wait(0.1)
            
            pcall(function()
                if type(mouse1click) == "function" then
                    mouse1click()
                else
                    local vim = game:GetService("VirtualInputManager")
                    local centerX, centerY = cam.ViewportSize.X / 2, cam.ViewportSize.Y / 2
                    vim:SendMouseButtonEvent(centerX, centerY, 0, true, game, 1)
                    task.wait(0.05)
                    vim:SendMouseButtonEvent(centerX, centerY, 0, false, game, 1)
                end
            end)
        end
    end
end)

SembunyiActionBtn.MouseButton1Click:Connect(function()
    local nearestLocker = nil
    local minDist = math.huge
    local char = LocalPlayer.Character
    
    if char and char:FindFirstChild("HumanoidRootPart") then
        local hrp = char.HumanoidRootPart
        
        for _, obj in pairs(workspace:GetChildren()) do
            if obj.Name == "Locker" and obj:IsA("Model") then
                local targetPart = obj.PrimaryPart or obj:FindFirstChildWhichIsA("BasePart", true)
                if targetPart then
                    local dist = (hrp.Position - targetPart.Position).Magnitude
                    if dist < minDist then
                        minDist = dist
                        nearestLocker = obj
                    end
                end
            end
        end
        
        if nearestLocker then
            local prompt = nearestLocker:FindFirstChildWhichIsA("ProximityPrompt", true)
            local targetPart = nearestLocker.PrimaryPart or nearestLocker:FindFirstChildWhichIsA("BasePart", true)
            
            if targetPart and prompt then
                hrp.CFrame = targetPart.CFrame
                task.wait(0.1)
                
                pcall(function()
                    if fireproximityprompt then
                        fireproximityprompt(prompt)
                    else
                        local vim = game:GetService("VirtualInputManager")
                        vim:SendKeyEvent(true, Enum.KeyCode.E, false, game)
                        task.wait(prompt.HoldDuration + 0.1)
                        vim:SendKeyEvent(false, Enum.KeyCode.E, false, game)
                    end
                end)
            end
        end
    end
end)

local espStates = { 
    Coin = true, Pocong = true, 
    Glasses = true, Wallet = true, Wristwatch = true, RitualPart = true,
    Clipboard = true, IDCard = true, RedPen = true, RitualPart2 = true,
    MedRepA = true, MedRepB = true, MedRepC = true, RitualPart3 = true
}

local function CreateESP(instance, name, color)
    if instance:FindFirstChild("TotozESP_Highlight") then return end
    
    local targetPart = instance
    if instance:IsA("Model") then
        targetPart = instance.PrimaryPart or instance:FindFirstChildWhichIsA("BasePart", true)
    end
    
    if not targetPart then return end

    local highlight = Instance.new("Highlight")
    highlight.Name = "TotozESP_Highlight"
    highlight.Parent = instance
    highlight.Adornee = instance
    highlight.FillColor = color
    highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
    highlight.FillTransparency = 0.5
    highlight.OutlineTransparency = 0
    highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop

    local selection = Instance.new("SelectionBox")
    selection.Name = "TotozESP_Selection"
    selection.Parent = instance
    selection.Adornee = targetPart
    selection.Color3 = color
    selection.LineThickness = 0.05
    selection.SurfaceTransparency = 0.8
    selection.SurfaceColor3 = color

    local billboard = Instance.new("BillboardGui")
    billboard.Name = "TotozESP_Text"
    billboard.Parent = instance
    billboard.Adornee = targetPart
    billboard.AlwaysOnTop = true
    billboard.Size = UDim2.new(0, 200, 0, 30)
    billboard.StudsOffset = Vector3.new(0, 2.5, 0)

    local textLabel = Instance.new("TextLabel")
    textLabel.Parent = billboard
    textLabel.BackgroundTransparency = 1
    textLabel.Size = UDim2.new(1, 0, 1, 0)
    textLabel.Text = name
    textLabel.TextColor3 = color
    textLabel.TextStrokeTransparency = 0
    textLabel.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
    textLabel.Font = Enum.Font.GothamBold
    textLabel.TextSize = 20
end

local function RemoveESPByName(folder, itemName)
    if not folder then return end
    for _, obj in pairs(folder:GetChildren()) do
        if obj.Name == itemName then
            if obj:FindFirstChild("TotozESP_Highlight") then obj.TotozESP_Highlight:Destroy() end
            if obj:FindFirstChild("TotozESP_Selection") then obj.TotozESP_Selection:Destroy() end
            if obj:FindFirstChild("TotozESP_Text") then obj.TotozESP_Text:Destroy() end
        end
    end
end

local function GetStage1Folder()
    local stages = workspace:FindFirstChild("Stages")
    return stages and stages:FindFirstChild("Stage1") or nil
end

local function GetStage1ItemsFolder()
    local stage1 = GetStage1Folder()
    return stage1 and stage1:FindFirstChild("Items") or nil
end

local function GetStage2Folder()
    local stages = workspace:FindFirstChild("Stages")
    return stages and stages:FindFirstChild("Stage2") or nil
end

local function GetStage2ItemsFolder()
    local stage2 = GetStage2Folder()
    return stage2 and stage2:FindFirstChild("Items") or nil
end

local function GetStage3Folder()
    local stages = workspace:FindFirstChild("Stages")
    return stages and stages:FindFirstChild("Stage3") or nil
end

local function GetStage3ItemsFolder()
    local stage3 = GetStage3Folder()
    return stage3 and stage3:FindFirstChild("Items") or nil
end

local function SetupToggleLogic(btn, stateKey, itemName, folderType)
    btn.MouseButton1Click:Connect(function()
        espStates[stateKey] = not espStates[stateKey]
        if espStates[stateKey] then
            btn.Text = "ON"
            btn.BackgroundColor3 = Color3.fromRGB(138, 43, 226)
        else
            btn.Text = "OFF"
            btn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
            
            local folder = nil
            if folderType == "Currency" then folder = workspace:FindFirstChild("CurrencyItems")
            elseif folderType == "Stage1" then folder = GetStage1ItemsFolder()
            elseif folderType == "Stage1Root" then folder = GetStage1Folder()
            elseif folderType == "Stage2" then folder = GetStage2ItemsFolder()
            elseif folderType == "Stage2Root" then folder = GetStage2Folder()
            elseif folderType == "Stage3" then folder = GetStage3ItemsFolder()
            elseif folderType == "Stage3Root" then folder = GetStage3Folder()
            elseif folderType == "Workspace" then folder = workspace end
            
            RemoveESPByName(folder, itemName)
        end
    end)
end

SetupToggleLogic(CoinESPToggle, "Coin", "CoinModel", "Currency")
SetupToggleLogic(PocongESPToggle, "Pocong", "PocongModel", "Workspace")
SetupToggleLogic(GlassesToggle, "Glasses", "Glasses", "Stage1")
SetupToggleLogic(WalletToggle, "Wallet", "Wallet", "Stage1")
SetupToggleLogic(WristwatchToggle, "Wristwatch", "Wristwatch", "Stage1")
SetupToggleLogic(RitualToggle, "RitualPart", "RitualPart", "Stage1Root")
SetupToggleLogic(ClipboardToggle, "Clipboard", "Clipboard", "Stage2")
SetupToggleLogic(IDCardToggle, "IDCard", "ID Card", "Stage2")
SetupToggleLogic(RedPenToggle, "RedPen", "Red Pen", "Stage2")
SetupToggleLogic(Ritual2Toggle, "RitualPart2", "RitualPart", "Stage2Root")
SetupToggleLogic(MedRepAToggle, "MedRepA", "Medical Report A", "Stage3")
SetupToggleLogic(MedRepBToggle, "MedRepB", "Medical Report B", "Stage3")
SetupToggleLogic(MedRepCToggle, "MedRepC", "Medical Report C", "Stage3")
SetupToggleLogic(Ritual3Toggle, "RitualPart3", "RitualPart", "Stage3Root")

task.spawn(function()
    while task.wait(1) do
        if not ScreenGui or not ScreenGui.Parent then break end

        if espStates.Coin then
            local currencyFolder = workspace:FindFirstChild("CurrencyItems")
            if currencyFolder then
                for _, obj in pairs(currencyFolder:GetChildren()) do
                    if obj.Name == "CoinModel" then CreateESP(obj, "Koin", Color3.fromRGB(255, 215, 0)) end
                end
            end
        end

        local itemsFolder = GetStage1ItemsFolder()
        if itemsFolder then
            for _, obj in pairs(itemsFolder:GetChildren()) do
                if espStates.Glasses and obj.Name == "Glasses" then CreateESP(obj, "Glasses", Color3.fromRGB(0, 255, 255))
                elseif espStates.Wallet and obj.Name == "Wallet" then CreateESP(obj, "Wallet", Color3.fromRGB(0, 255, 0))
                elseif espStates.Wristwatch and obj.Name == "Wristwatch" then CreateESP(obj, "Wristwatch", Color3.fromRGB(255, 100, 100)) end
            end
        end
        
        if espStates.RitualPart then
            local stage1Folder = GetStage1Folder()
            if stage1Folder then
                local ritualPart = stage1Folder:FindFirstChild("RitualPart")
                if ritualPart then CreateESP(ritualPart, "Meja Ritual 1", Color3.fromRGB(255, 0, 255)) end
            end
        end

        local itemsFolder2 = GetStage2ItemsFolder()
        if itemsFolder2 then
            for _, obj in pairs(itemsFolder2:GetChildren()) do
                if espStates.Clipboard and obj.Name == "Clipboard" then CreateESP(obj, "Clipboard", Color3.fromRGB(255, 165, 0))
                elseif espStates.IDCard and obj.Name == "ID Card" then CreateESP(obj, "ID Card", Color3.fromRGB(0, 191, 255))
                elseif espStates.RedPen and obj.Name == "Red Pen" then CreateESP(obj, "Red Pen", Color3.fromRGB(255, 20, 147)) end
            end
        end
        
        if espStates.RitualPart2 then
            local stage2Folder = GetStage2Folder()
            if stage2Folder then
                local ritualPart2 = stage2Folder:FindFirstChild("RitualPart")
                if ritualPart2 then CreateESP(ritualPart2, "Meja Ritual 2", Color3.fromRGB(138, 43, 226)) end
            end
        end

        local itemsFolder3 = GetStage3ItemsFolder()
        if itemsFolder3 then
            for _, obj in pairs(itemsFolder3:GetChildren()) do
                if espStates.MedRepA and obj.Name == "Medical Report A" then CreateESP(obj, "Med Report A", Color3.fromRGB(255, 255, 0))
                elseif espStates.MedRepB and obj.Name == "Medical Report B" then CreateESP(obj, "Med Report B", Color3.fromRGB(0, 255, 255))
                elseif espStates.MedRepC and obj.Name == "Medical Report C" then CreateESP(obj, "Med Report C", Color3.fromRGB(50, 255, 50)) end
            end
        end
        
        if espStates.RitualPart3 then
            local stage3Folder = GetStage3Folder()
            if stage3Folder then
                local ritualPart3 = stage3Folder:FindFirstChild("RitualPart")
                if ritualPart3 then CreateESP(ritualPart3, "Meja Ritual 3", Color3.fromRGB(138, 43, 226)) end
            end
        end
    end
end)

RunService:BindToRenderStep("TotozSpeedHack", Enum.RenderPriority.Character.Value + 1, function(deltaTime)
    if isFullBright then
        Lighting.Brightness = 2
        Lighting.ClockTime = 14
        Lighting.FogEnd = 100000
        Lighting.GlobalShadows = false
        Lighting.Ambient = Color3.fromRGB(255, 255, 255)
        Lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255)
    end

    local character = LocalPlayer.Character
    if character then
        local humanoid = character:FindFirstChildOfClass("Humanoid")
        local rootPart = character:FindFirstChild("HumanoidRootPart")
        if humanoid and rootPart then
            pcall(function() humanoid.WalkSpeed = currentSpeed end)
            
            if isFly then
                local cam = workspace.CurrentCamera
                local bv = rootPart:FindFirstChild("TotozFlyBV")
                local bg = rootPart:FindFirstChild("TotozFlyBG")

                if not bv then
                    bv = Instance.new("BodyVelocity")
                    bv.Name = "TotozFlyBV"
                    bv.MaxForce = Vector3.new(100000, 100000, 100000)
                    bv.Parent = rootPart
                end
                if not bg then
                    bg = Instance.new("BodyGyro")
                    bg.Name = "TotozFlyBG"
                    bg.MaxTorque = Vector3.new(100000, 100000, 100000)
                    bg.P = 9000
                    bg.Parent = rootPart
                end

                local moveDir = Vector3.new()
                if UserInputService:IsKeyDown(Enum.KeyCode.W) then moveDir = moveDir + cam.CFrame.LookVector end
                if UserInputService:IsKeyDown(Enum.KeyCode.S) then moveDir = moveDir - cam.CFrame.LookVector end
                if UserInputService:IsKeyDown(Enum.KeyCode.A) then moveDir = moveDir - cam.CFrame.RightVector end
                if UserInputService:IsKeyDown(Enum.KeyCode.D) then moveDir = moveDir + cam.CFrame.RightVector end

                bg.CFrame = cam.CFrame
                if moveDir.Magnitude > 0 then
                    bv.Velocity = moveDir.Unit * currentSpeed
                else
                    bv.Velocity = Vector3.new(0, 0, 0)
                end
            else
                if currentSpeed > 16 and humanoid.MoveDirection.Magnitude > 0 then
                    local extraSpeed = currentSpeed - 16
                    rootPart.CFrame = rootPart.CFrame + (humanoid.MoveDirection * extraSpeed * deltaTime)
                end
            end
        end
    end

    local pocong = workspace:FindFirstChild("PocongModel")
    if pocong then
        local pocongPart = pocong.PrimaryPart or pocong:FindFirstChildWhichIsA("BasePart", true)
        
        if pocongPart and character and character:FindFirstChild("HumanoidRootPart") then
            local hrp = character.HumanoidRootPart
            local dist = (hrp.Position - pocongPart.Position).Magnitude
            
            if espStates.Pocong then
                CreateESP(pocong, "POCONG", Color3.fromRGB(255, 0, 0))
                if pocong:FindFirstChild("TotozESP_Text") then
                    local textLabel = pocong.TotozESP_Text:FindFirstChildOfClass("TextLabel")
                    if textLabel then
                        textLabel.Text = "POCONG [" .. math.floor(dist) .. "m]"
                    end
                end
            end
        end
    end
end)

local noclipConnection
noclipConnection = RunService.Stepped:Connect(function()
    if not ScreenGui or not ScreenGui.Parent then
        noclipConnection:Disconnect()
        return
    end
    
    if isNoclip and LocalPlayer.Character then
        for _, part in pairs(LocalPlayer.Character:GetDescendants()) do
            if part:IsA("BasePart") then
                part.CanCollide = false
            end
        end
    end
end)

local function TeleportToItem(itemName, stageNum)
    local stageFolder = nil
    if stageNum == 1 then stageFolder = GetStage1Folder()
    elseif stageNum == 2 then stageFolder = GetStage2Folder()
    elseif stageNum == 3 then stageFolder = GetStage3Folder() end
    
    local item = nil
    if stageFolder then
        item = stageFolder:FindFirstChild(itemName)
        if not item then
            local itemsFolder = stageFolder:FindFirstChild("Items")
            if itemsFolder then item = itemsFolder:FindFirstChild(itemName) end
        end
    end
    
    if item then
        local targetPart = item
        if item:IsA("Model") then
            targetPart = item.PrimaryPart or item:FindFirstChildWhichIsA("BasePart", true)
        end
        if targetPart and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
            LocalPlayer.Character.HumanoidRootPart.CFrame = targetPart.CFrame + Vector3.new(0, 3, 0)
        end
    end
end

local function SetupTPBtn(btn, itemName, stageNum)
    btn.MouseButton1Click:Connect(function()
        local originalColor = btn.BackgroundColor3
        btn.BackgroundColor3 = Color3.fromRGB(138, 43, 226)
        TeleportToItem(itemName, stageNum)
        task.wait(0.1)
        btn.BackgroundColor3 = originalColor
    end)
end

SetupTPBtn(TpGlassesBtn, "Glasses", 1)
SetupTPBtn(TpWalletBtn, "Wallet", 1)
SetupTPBtn(TpWristwatchBtn, "Wristwatch", 1)
SetupTPBtn(TpRitualBtn, "RitualPart", 1)

SetupTPBtn(TpClipboardBtn, "Clipboard", 2)
SetupTPBtn(TpIDCardBtn, "ID Card", 2)
SetupTPBtn(TpRedPenBtn, "Red Pen", 2)
SetupTPBtn(TpRitual2Btn, "RitualPart", 2)

SetupTPBtn(TpMedRepABtn, "Medical Report A", 3)
SetupTPBtn(TpMedRepBBtn, "Medical Report B", 3)
SetupTPBtn(TpMedRepCBtn, "Medical Report C", 3)
SetupTPBtn(TpRitual3Btn, "RitualPart", 3)

Features & Information

------------------- WAJIIB LIKE SCRIPT INI ------------------- PLAYER - FB (Full Bright) - Foto Pocong Otomatis - Fly - Speed Control - Noclip - DLL ___________________________________________________ Teleport - Teleport to Item Stage 1 - Stage 2 - Stage 3 ___________________________________________________ ESP - ESP All Item Stage 1 - Stage 2 -Stage 3
#Pocong Script#TOTOZ CHEAT#Cursed Hospital#Pocong Cursed Hospital#Pocong Cursed

Community Comments (13)

TOTOZindoTOTOZindoFeb 28, 2026

MASIH BETA CUY !!!

ThsuemThsuemMar 1, 2026

The script is not working.

asdsad234324asdsad234324Mar 1, 2026

It doesn't work. Script

TOTOZindoTOTOZindoMar 1, 2026

UDAH DI UPDATE COBA LAGI

matchalatte05matchalatte05Mar 25, 2026

Kak aku exe pake delta koq ga bisa

Replying to @matchalatte05
TOTOZindoTOTOZindoMar 26, 2026

@matchalatte05 coba di copy paste aja dari sini

Replying to @TOTOZindo
ProMouse7399ProMouse7399Apr 7, 2026

@TOTOZindo copy paste darimana

DecakistmyriagontDecakistmyriagontMar 27, 2026

bisa ni bang? gua coba dulu ya, nanti kalau sudah gw kasih feedback

DecakistmyriagontDecakistmyriagontMar 27, 2026

bisa bang, work semua

DecakistmyriagontDecakistmyriagontMar 27, 2026

*an yang fitur sembunyi guna nya apa?

ProMouse7399ProMouse7399Apr 7, 2026

gabisa di execute kepanjangan sc nya

nazarrizki16nazarrizki16Apr 8, 2026

Delta Ga work bang

abroriiiabroriiiApr 15, 2026

kok di delta gabisa ya bang

More Scripts for [Nightmare] Pocong: Cursed Hospital [Scary Horror]